summaryrefslogtreecommitdiff
path: root/layouts/partials/metadata.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/metadata.html')
-rw-r--r--layouts/partials/metadata.html6
1 files changed, 3 insertions, 3 deletions
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" -}}
<article>
<header>
<p>{{ .PublishDate.Format $dateFormat }} - {{ .ReadingTime }} minute read<br>
<a href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></p>
</header>
</article>
-{{ end }}
+{{ end }} \ No newline at end of file