diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 01a0cae..41c67bf 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,16 +5,47 @@ - - {{ if .IsPage }} - - {{ end }} - - - - {{ hugo.Generator }} - {{ if and (not .IsHome) .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }} + + {{ $title := .Site.Title}} + {{ if and (not .IsHome) .Title }} + {{ $title = printf "%s | %s" .Title .Site.Title}} + {{ end }} + {{ $title }} + + + + + + + + + + + + + + + + + + + + {{ with .Params.image }} + + + + + {{ else }} + + + + + {{ end }} + + + + {{ hugo.Generator }} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}