LordMathis / hugo-theme-nightfall

Minimal dark theme for Hugo
https://hugo-theme-nightfall.netlify.app/
MIT License
77 stars 41 forks source link

fixed showMetaData not reading from hugo.toml / config.toml. #24

Closed cpeth closed 1 year ago

cpeth commented 1 year ago

Previously would always be default of true

LordMathis commented 1 year ago

Hi @cpeth this is intended. The idea is that you can disable metadata on page by page bases by adding showMetadata = false to post frontmatter. There is currently no option to disable it globally, however it is a good idea to have it. You could update your PR to allow for both .Site.Params and .Params so both global option and frontmatter option work. If you decide to do this, can you also please update README section about Post metadata?