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
230 stars 107 forks source link

Add taxonomies as menu items #44

Closed nitishingde closed 1 year ago

nitishingde commented 1 year ago
menu = [
        {Name = "About", URL = "/about/", HasChildren = false},
        {Name = "Series", URL = "/series/", HasChildren = false}, #doesn't work
        {Name = "Posts", URL = "/posts/", HasChildren = true, Limit = 5},
]

It would be nice if you could support adding taxonomies like "series" and "tags" as menu items.

lukeorth commented 1 year ago

Hi @nitishingde - thanks for the recommendation. I agree this would be a nice feature. Does the picture below reflect what you had envisioned?

image

nitishingde commented 1 year ago

Yes.

lukeorth commented 1 year ago

I just added this feature and it should work with the menu params you provided. :+1: