UtkarshVerma / hugo-dream-plus

:rainbow: An upgraded version of the Hugo "Dream" theme with tons of new features.
http://dream-plus-posts.netlify.com
MIT License
68 stars 66 forks source link

How to set rssButton to False #65

Closed garrettseepersad closed 5 years ago

garrettseepersad commented 5 years ago

rssButton is defined as always true, how do I set it to false?

{{ partial "nav.html" (dict "context" . "rssButton" true "contentType" $contentType) }}

I am new to the Hugo ecosystem. Thanks for helping helping such a novice question :)

UtkarshVerma commented 5 years ago

Currently, Dream Plus doesn't have such a feature which allows one to disable the RSS button. If you want to disable it, just replace the boolean value next to rssButton with false wherever the nav.html partial has been called. That's the quick local fix. Do you want this to be implemented as a feature in the theme?

garrettseepersad commented 5 years ago

I would be able to do it manually, but definitely a worthwhile feature to consider implementing.

UtkarshVerma commented 5 years ago

Ok, I will implement this feature in the later versions then.