'navigation' Object not containing enough page information. #156
Labels
external
Concerns another part of the ecosystem
info required
Further information is requested
stale
No news, closing
Hi, I wanted to use the
navigation
(orfiles
) object to get page information of sub pages.With this, I want to build a rich overview page of all sub-pages including some of their meta data. The function would be similar to the Excerpt Macro in Confluence.
Another example (to try to explain the goal of this) would be building an index of all sub-pages within a specific folder. For this, you need the Title of the page and the URL and can the build a link. However, at the moment, I don't see how this should work.
Issue
The
pages
(List[Page]) within thenavigation
object neither contain the Title of a page, nor any meta data in most cases. It seems like they only contain this information the further down in the directory tree they are.Jinja Template Example
Pictures
In the following picture, we only get the details of File0 (the current page) and the other pages don't show any detail infos, except the URL.
In the next picture, we have it working as expected. The details of all sub-pages of Folder1 are retrieved.
What's the issue here or how can this be done differently? From my perspective,
navigation.pages
should have the same content, independent to where it is used in the file tree.The text was updated successfully, but these errors were encountered: