Open renanbastos93 opened 6 months ago
I see. So basically, if you set it to false it becomes false | true which is evaluates to true
Wait actually the disabling works as expected but it has to be changed individually in each post frontmatter. Globally turning off post metadata is not yet implemented. I'd welcome a PR for this. I'll keep this issue open but I'll close #41
What do you expect to do?
The if statement currently checks if .Params.showMetadata is set to false. .Params is set in post frontmatter. To be able to disable post metadata globally it also needs to check .Site.Params.showMetadata. If either of those is false the metadata on that post won't be shown
I have setted
showMetadata = false
in config.toml but it doesn't work.example