From 3aabc8e61c4c63aaa4fc8ee26d6a5d660f17f9a9 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Fri, 11 Sep 2020 21:57:33 +0200 Subject: [PATCH] refactor(head): remove empty lines --- layouts/partials/head.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index dd51174..d7af8de 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,19 +1,18 @@ - + {{ (trim (partial "data/title" .) "\n" ) | safeHTML }} - - - {{ partial "head/style.html" . }} - {{ partial "head/script.html" . }} + - {{ partial "head/opengraph/include.html" . }} + {{- partial "head/style.html" . -}} + {{- partial "head/script.html" . -}} + {{- partial "head/opengraph/include.html" . -}} - {{ range .AlternativeOutputFormats -}} + {{- range .AlternativeOutputFormats -}} - {{ end -}} + {{- end -}} {{- if .Site.Params.favicon -}} {{- $logo := resources.Get .Site.Params.favicon -}} @@ -21,5 +20,5 @@ {{- end -}} - {{ partial "head/custom.html" . }} + {{- partial "head/custom.html" . -}} \ No newline at end of file