I don’t know about site params in CSS files, but you can take advantage of the fact that we are allowed to add Hugo partials to <head>
. Something like this:
{{ if not $.Site.Params.show_stats_in_menu }}
<style>
nav a[href='/stats/'] {
display: none;
}
</style>
{{ end }}
I would like to +1 your request to have built-in support for this. Would it be possible to list plug-in supplied pages along user created pages, @manton, and allow people to decide if they should show in the menu?