Open divinerites opened 4 years ago
Hi, those were nice additions. I ended up by using both:
{{ if or (eq .Params.Victor_Hugo_clean "true") (eq .site.Params.Victor_Hugo_clean "true") }}{{ else }}
I'm adding it to the latest release. Updated the Readme too (nice catch...)
I have been thinking of doing the index.html. What do you purpose?
Cheers
Ola Javier, just few things :
{{ if eq .Params.clean "true" }}{{ else }}
should read{{ if eq .Params.Victor_Hugo_Clean "true" }}{{ else }}
{{ if eq site.Params.Victor_Hugo_Clean "true" }}{{ else }}
so you give this parameter only once in yourconfig.toml
And more generally, are you thinking about adapting it for not only simple pages (blog) but also for the main
index.html
? Because I have a web site on one page and it doesn't work (i did not dig yet in the code to find the problems).Thanks anyway.