diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-03-26 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-03-26 00:00:00 +0000 |
commit | 3e8e92b2c1c64cfbc534d8f7ea1a4748ec4598f894e9d9531308d9f3ce34f02d (patch) | |
tree | b5cfb0cd67872e678092f6da7e2147fe919fc5e1e98c7db66d38430e025e8b6b /layouts | |
parent | e10fde31c9c1663b0de525a7b57dbb184d9fc00b19cd7a129fb5aa283a6ae93b (diff) | |
download | hugo-theme-journal-0.4.5.tar.gz hugo-theme-journal-0.4.5.zip |
Don't break spaces directly following emojisv0.4.5
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/pageinfo.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/pageinfo.html b/layouts/partials/pageinfo.html index 5aca1c2..bba7c1c 100644 --- a/layouts/partials/pageinfo.html +++ b/layouts/partials/pageinfo.html @@ -1,2 +1,2 @@ {{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}} -{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ .Page.ReadingTime | safeHTML }} minute read{{ if .Page.Params.Tags }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := .Page.Params.Tags }}{{ if $key }}, {{ end }}<a class="link" href='{{ "/tags/" }}{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }} +{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ .Page.ReadingTime | safeHTML }} minute read{{ if .Page.Params.Tags }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := .Page.Params.Tags }}{{ if $key }}, {{ end }}<a class="link" href='{{ "/tags/" }}{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }} |