diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index 8f80c710..446b79eb 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -51,17 +51,19 @@ {{ end }} {{ end }} -{{ if $.Site.Params.indieLoginOptions.useGithub }} + +{{- if $.Site.Params.indieLoginOptions.useGithub -}} {{ with $.Site.Params.socialOptions.github }} - {{ end }} -{{ end}} -{{ if $.Site.Params.webmentionIo }} - {{ $parsedBaseUrl := urls.Parse .Site.BaseURL }} + {{- end -}} +{{- end -}} +{{- if $.Site.Params.webmentionIo -}} + {{- $parsedBaseUrl := urls.Parse .Site.BaseURL -}} {{ with $parsedBaseUrl.Host }} - {{ end }} + {{- end -}} {{ end }} + {{ hugo.Generator }}