gokarna-theme / gokarna-hugo

A minimal opinionated theme for Hugo
https://gokarna-hugo.netlify.app
GNU General Public License v3.0
357 stars 139 forks source link

Add a "hiddenTags" Params field #226

Closed nalysius closed 1 month ago

nalysius commented 1 month ago

All tags listed in hiddenTags aren't displayed on the posts. Tags can be used to categorize posts, and categories don't need to be displayed.

An example is if the pages are used for about-us and contact, and posts as blog articles and projects presentation. Example of hugo.toml using this new field:

[params] hiddenTags = ["project", "blog"] [menu] [[menu.main]] identifier = "projects" url = "/tags/project/" name = "My Projects" weight = 1 [[menu.main]] identifier = "blog" url = "/tags/blog/" name = "Blog" weight = 2

netlify[bot] commented 1 month ago

Deploy Preview for gokarna-hugo ready!

Name Link
Latest commit c1108819b6d550c71fe5c407007d02c252ac24fb
Latest deploy log https://app.netlify.com/sites/gokarna-hugo/deploys/66ce29324d38330008c842a6
Deploy Preview https://deploy-preview-226--gokarna-hugo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.