I am using the Tokiwa theme for this project.
here is a link to my repo
On the main page of the site I am trying to create menus that slide down to show subfolders, here is an example from the imperial-library site to show what I mean. You can click on “game books” and then a list opens up that shows all of the available topics for that option. Ex (All, Arena, …) If you click on one of the topics it takes you to a page with a list of all of the entries and a short description of each one. You can then click on the entry to view that post.
In my project my directory is structured
writing (Writing has subfolders poem and stories)
So on the home page I would like for someone to be able to click on “writing” then it would slide down to reveal “poems” and “stories”. You could then click on either one of those to view a list page formatted like
description of poem 1 - link to poem 1
description of poem 2 - link to poem 2
description of poem 3 - link to poem 3
I would also like to add this feature to other topics other than writing.
I am asking two questions
- How to make the sliding list in Hugo?
- How to make the page containing the list of posts?
I have tried setting up an __index.md page inside of the poems or short stories folder, but currently the poem and short story posts just get linked under writing not in their own list pages.
I would appreciate any input or advice on these issues.