diff options
author | Damien Caselli <damien.caselli@gmail.com> | 2017-07-23 13:14:37 +0300 |
---|---|---|
committer | Damien Caselli <damien.caselli@gmail.com> | 2017-07-23 13:14:37 +0300 |
commit | 78e6f6d3de67152bb51e9b7f3cbde901a603b9db (patch) | |
tree | ee705e3e3a3d6d6d01286d5d786ed82f303d1f75 | |
parent | 4235922e5f184a926d53547f5e971ddb64900bf3 (diff) |
Test config keys with their lowercase name
-rw-r--r-- | layouts/partials/nav.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 68b9571..8cf9db0 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -2,11 +2,11 @@ <a href="{{ .Site.BaseURL }}">Home</a> <a href="{{ .Site.BaseURL }}post/">All posts</a> - {{ if isset .Site.Params "TwitterUsername" -}} + {{ if isset .Site.Params "twitterusername" }} <a href="https://twitter.com/{{ .Site.Params.TwitterUsername }}">Twitter</a> {{- end }} - {{ if isset .Site.Params "GithubUsername" -}} + {{ if isset .Site.Params "githubusername" }} <a href="http://github.com/{{ .Site.Params.GithubUsername }}">GitHub</a> {{- end }} |