From 07623c2ea81997717587bf8ea5554997d9f01e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Zaj=C4=85czkowski?= Date: Sat, 7 Mar 2020 23:39:02 +0100 Subject: [PATCH] [ZZO] Remove extra empty lines in meta for indieweb --- layouts/partials/head/meta.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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 }}