From: philgs Date: Mon, 5 Jan 2015 11:22:06 +0000 (-0500) Subject: Lowercase variables for .Site.Params X-Git-Url: http://njoseph.me/gitweb/hyde.git/commitdiff_plain/9ea795e148e3dd484509484a6dae03a8fd0c2e0a Lowercase variables for .Site.Params Variables under .Site.Params are accessed with all lower-case identifiers. Hugo won't find them with an upper-case first letter, regardless of how they're formatted in the site `config` file. --- diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index b199a6b..645b25c 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -3,7 +3,7 @@ @@ -14,6 +14,6 @@ {{end}} -

{{ with .Site.Params.Copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}

+

{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}