On Fri, 5 May 2023 at 06:33, Mitch Berkson <[email protected]> wrote:
>
> Is it possible to implement a hierarchy of pages and directories like this:
> [fruit]
>    |--kiwi.md
>    |--banana.md
>    |--[red_fruit]
>       |--strawberry.md
>       |--apple.md
> [vegetables]
>    |--tomato.md
>    |--cucumber.md
>
> fruit and vegetables would be shown in the navigation links, but the 
> sub-directory red_fruit would not be. It would be displayed in the same list 
> as apple and banana. red_fruit would be a link to the list page with its 
> children.
>
> Maybe this is problematic because items doesn't collect the sub-directory.

You can have any hierarchy for your site. PAGE_INDEX might not support
hierarchies though — perhaps you might want to write a custom plugin
(based on the existing PAGE_INDEX handler?) that would suit your needs
better?

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7KtFxkyckBjN-hiwXC-Q63%3DmaaTEY5ut2bKAt3KEwn0Ng%40mail.gmail.com.

Reply via email to