diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 5 |
1 files changed, 3 insertions, 2 deletions
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" . }} |