summaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo.html
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-08-25 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-08-25 00:00:00 +0000
commitdd70d2fa0b4647771713853577ed175e21dca92e55dd31deee41d93628f920b5 (patch)
tree924a7446c3f9654e12646db6f64ff354c7680706deaa600a00bcbf5adf86031c /layouts/partials/pageinfo.html
parent50c63674b0d1492eee388cf5e7361e5b81e04f0aac8ce828655b58847044a72f (diff)
downloadhugo-theme-journal-dd70d2fa0b4647771713853577ed175e21dca92e55dd31deee41d93628f920b5.tar.gz
hugo-theme-journal-dd70d2fa0b4647771713853577ed175e21dca92e55dd31deee41d93628f920b5.zip
Remove EOLs in embedded layouts
Diffstat (limited to 'layouts/partials/pageinfo.html')
-rw-r--r--layouts/partials/pageinfo.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/pageinfo.html b/layouts/partials/pageinfo.html
index a65136a..7378049 100644
--- a/layouts/partials/pageinfo.html
+++ b/layouts/partials/pageinfo.html
@@ -1,2 +1,2 @@
{{ $dateFormat := .Site.Params.dateFormat | default ":date_long" -}}
-{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ i18n "readingTime" .ReadingTime | safeHTML }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}<a class="link" href='{{ relLangURL (lower (i18n "tags")) }}/{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }}
+{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ i18n "readingTime" .ReadingTime | safeHTML }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}<a class="link" href='{{ relLangURL (lower (i18n "tags")) }}/{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }} \ No newline at end of file