From 157f564b9a35dd8e327a33b45b50167ff4f332cbe2be3629dd6106f026095743 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 4 Aug 2022 00:00:00 +0000 Subject: Remove extra newlines from HTML output --- layouts/partials/footer.html | 2 +- layouts/partials/head.html | 2 +- layouts/partials/header.html | 2 +- layouts/partials/metadata.html | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 673e170..daf7cd3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,4 @@ + \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2e5db26..bc92fc2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -6,4 +6,4 @@ {{ $.Site.Title }} - + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 391a013..2a23191 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,3 +1,3 @@
{{ $.Site.Params.logo }}
-
+ \ No newline at end of file diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index aec5e8c..92c0b83 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,9 +1,9 @@ -{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }} -{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" }} +{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse -}} +{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}}

{{ .PublishDate.Format $dateFormat }} - {{ .ReadingTime }} minute read
{{ .Title }}

-{{ end }} +{{ end }} \ No newline at end of file -- cgit v1.2.3