monkeyWzr / hugo-theme-cactus

Cactus theme for hugo
MIT License
541 stars 341 forks source link

Example Site config file typo fix #43

Closed jakobhans closed 3 years ago

jakobhans commented 3 years ago

Used the example site config file and wouldn't be able to make the Writings section work. The issue was with the config key.

monkeyWzr commented 3 years ago

Thanks very much! site.Params.mainSections is for other purposes exposed by Hugo itself. https://gohugo.io/functions/where/#mainsections

I used mainSection for setting the link of the "writings" title on the homepage. https://github.com/monkeyWzr/hugo-theme-cactus#homepage-settings

Sorry for the confusion. I'll try to improve this. Thanks again!