Closed ronangaillard closed 3 years ago
@ronangaillard hey there, so sorry for the delay and really appreciate your help!
We should use lower case when checking the key by isset. Hugo stores all site-level configuration keys as lower case. https://gohugo.io/functions/isset/
isset .Site.Params "showprojectslist"
will work.
Would you like to make a pr on that? (the logic I wrote was totally a mess. Thanks again!)
I'll try to make a PR soon yes :)
@ronangaillard Hi there! This has been fixed in #77.
Best regards!
If you have
in your config file, but you also have a
data/projects.json
in your project, the main page will display the projects anyway.I wanted to fix it by changing the
index.htm
l template withbut it still does not work (projects are still shown), I'm not a go template expert though