digitalcraftsman / hugo-cactus-theme

Port of Nick Balestra's Cactus theme to Hugo.
MIT License
198 stars 111 forks source link

Suppress pages from front page #9

Closed jmhickman closed 8 years ago

jmhickman commented 8 years ago

Hi, I really like your theme, but I'm trying to find a way for a post to not show up on the front page.

I basically want hugo to generate the page/post, but I need to link to it specifically from elsewhere and not have them clog up the "main" blog and front page where they don't make sense.

Is there a way to do this? If not, is there a simple way it could be added? A parameter in the front matter like "hidden" or "suppressed" or something seems like it would work well.

I'm using your Agency theme and like it a lot. Your documentation is much much clearer than many other hugo themes, and your example sites tell me what I need to know to get things working. Thank you.

digitalcraftsman commented 8 years ago

Hi @jmhickman,

as in your proposal just add hidden = true as parameter to the frontmatter. Pull the lastest version and you're ready to go.

I appreciate your positive feedback. Thanks.

Cheers, Digitalcraftsman

jmhickman commented 8 years ago

Perfect. Thank you so much!