lukeorth / poison

Professional Hugo theme for dev bloggers. Based on Mdo's classic Hyde theme.
https://poison.lukeorth.com
GNU General Public License v3.0
199 stars 98 forks source link

Changed menu.html to add headings based on taxonomy terms #120

Closed AidanFLaw closed 1 year ago

AidanFLaw commented 1 year ago

I intend to create headings on the sidebar menu based on taxonomy terms. For instance, if a post is tagged with 'Development', my goal is to display the most recent posts under this tag in the sidebar menu. This functionality should also extend to posts that are part of a series.

This ensure the following works in my hugo.toml: [params] menu = [ {Name = "Development", URL = "/tags/Development/", HasChildren = true, Limit = 2}, ]

lukeorth commented 1 year ago

@AidanFLaw - I really like this idea. Finished testing and the changes look good to me. Thanks for the contribution! :slightly_smiling_face: