-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Add support for multiple sections
For my personal use, I made a few changes to the FeelIt Theme to support multiple sections :
- The home page displays summary cards of all sections together.
- A menu entry is created for each section :
- It redirects to the section's index page
- It is higlighted whenever you are visiting the section index or a section's post.
- The section's index pages displays a list of all the posts in said section :
- As a timeline (by default)
- As summary cards (by setting
params>sections>displayAstocards)
- Catagories can be grouped by sections (by setting
params>taxonomies>groupCategoriesBySectionstotrue) - Tags can also be grouped by sections, but things get more complicated...
- You have to create a new taxonomy named
tag_<section_name>for each section by adding this totaxonomies:tag_<section_name>: tags_<section_name>
- You have to use the right taxonomy for each section.
- You have to set
params>taxonomies>groupTagsBySectionstotrue
- You have to create a new taxonomy named
If you are interesed, I would be glad to commit my work.
You might want to double check as I am quite new to both Golang and Hugo environment...
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request