diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d9fc55c..e8e7382 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,7 +3,7 @@ <div class="header-title"> <a class="header-title-link" href="{{ "/" | relURL }}">{{ .Site.Title }}</a> </div> - {{ with .Site.Params.header.right_link }} + {{ with .Site.Params.header.rightLink }} {{ if and (in .url ":") (not (in .url (printf "%s" $.Site.BaseURL))) }} <a class="{{ if .icon }}header-right-icon {{ else }}header-right-picture {{ end }}{{ with .class }}{{ . }}{{ end }}" href="{{ .url | safeURL }}" target="_blank"> @@ -14,7 +14,7 @@ {{ if .icon }} <i class="fa fa-lg fa-{{ .icon }}"></i> {{ end }} - {{ if not $.Site.Params.header.right_link.icon }} + {{ if not $.Site.Params.header.rightLink.icon }} {{ with ($.Scratch.Get "authorPicture") }} <img class="header-picture" src="{{ . }}{{ if in . "//www.gravatar.com/avatar/" }}?s=90{{ end }}" alt="{{ i18n "global.author_picture" }}" /> {{ end }} |