diff options
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5d59d5c..a9b4963 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -34,4 +34,4 @@ {{ range .Site.Params.relMe }} <link href="{{.}}" rel="me"> {{ end}} -{{ partial "head-extra.html" }} +{{ partial "head-extra.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 991a2da..8364ba8 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,9 +1,9 @@ <nav> {{ $current := .RelPermalink }} {{ if eq $current .Site.Home.RelPermalink }} - <a aria-current="page">{{ .Site.Title }}</a> + <a class="homepage" aria-current="page">{{ .Site.Title }}</a> {{ else }} - <a href="{{ .Site.Home.RelPermalink }}" >{{ .Site.Title }}</a> + <a class="homepage" href="{{ .Site.Home.RelPermalink }}" >{{ .Site.Title }}</a> {{ end}} {{ range .Site.Menus.main }} @@ -14,3 +14,4 @@ {{ end }} {{ end }} </nav> +{{ partial "header-extra.html" . }} |