parsiya / Hugo-Octopress

Port of the classic Octopress theme to Hugo
MIT License
155 stars 52 forks source link

Fix searchEngineURL in nav #31

Closed sit closed 7 years ago

sit commented 7 years ago

Apparently, .Site.Params stores everything in lower case so isset of a mixed case string will never find anything. Switch to using with as recommended by https://discuss.gohugo.io/t/config-params-should-be-all-lowercase-or-not/5051/2

parsiya commented 7 years ago

Ah. Here I was trying to figure out why Disqus had stopped working. Thanks for the request. I have to go back and change all isset to with.