Replies: 4 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
-
The structure of the navigation object is a little beyond my knowledge. What I know could be discovered by exploring the content or doc. If that doesn't answer the question, the best would be to forward that question to the MkDocs team. |
Beta Was this translation helpful? Give feedback.
-
It could be that the content is initialized or not according to whether that title was explicitly defined or not in the config file or the page's header; if it wasn't (typically, it's the heading of level 1) then it might be empty. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am having the same issue too. (All the Using this code:
Moving the plugin up and down the plugin list does change how many get shown, so it seems to me a process gets cut short before it finishes. I'm aiming to pull a list of pages with a specific tag, but for now just getting a list of all the pages with tags is causing me grief. |
Beta Was this translation helpful? Give feedback.
-
I find it strange that
{{ navigation.pages }}
only returns a reduced/stripped down version of the Page object, only containing the title (Which most of the time seems to be blank) and the URL, but lacking crucial parts such as the Page meta or even the page content which MkDocs is including in the Page object.Why is that so? Can this be changed to be more in line with MkDocs'
nav
jinja2 variable, which contains all the Page's content?This issue makes it impossible for me to make a macro through a file that would list pages inside a specific folder, which I'm much more used to than making it in Python.
Beta Was this translation helpful? Give feedback.
All reactions