diff options
author | philgs <phil.gs@gmail.com> | 2015-01-05 06:22:06 -0500 |
---|---|---|
committer | philgs <phil.gs@gmail.com> | 2015-01-05 06:22:06 -0500 |
commit | 9ea795e148e3dd484509484a6dae03a8fd0c2e0a (patch) | |
tree | c4238c50c697be126bccc6b2bcfb8c187df48989 /layouts/partials/sidebar.html | |
parent | 47f2ba81adf8702c33722350d0134dd96f08c1ed (diff) |
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.
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r-- | layouts/partials/sidebar.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <div class="sidebar-about"> <h1>{{ .Site.Title }}</h1> <p class="lead"> - {{ with .Site.Params.Description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}} + {{ with .Site.Params.description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}} </p> </div> @@ -14,6 +14,6 @@ {{end}} </ul> - <p>{{ with .Site.Params.Copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}</p> + <p>{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}</p> </div> </div> |