diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-09-04 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-09-04 00:00:00 +0000 |
commit | e8342794ab89ba1887c04ea5a795fa45d640890277075fe5f6d5ab7ce1aa7af7 (patch) | |
tree | f8196133eaeda9d61edef748fa6c5572ddf6a70233c9d1bc171433704b3e04c7 /layouts/partials/metadata.gmi | |
parent | ed4ab1d48feb45f491a5ec302b8cf111f78bcbd5655ecca3f426fc76901eaa53 (diff) | |
download | hugo-theme-journal-e8342794ab89ba1887c04ea5a795fa45d640890277075fe5f6d5ab7ce1aa7af7.tar.gz hugo-theme-journal-e8342794ab89ba1887c04ea5a795fa45d640890277075fe5f6d5ab7ce1aa7af7.zip |
Add more emojis to homepage
Diffstat (limited to 'layouts/partials/metadata.gmi')
-rw-r--r-- | layouts/partials/metadata.gmi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi index 693ac32..b697ea0 100644 --- a/layouts/partials/metadata.gmi +++ b/layouts/partials/metadata.gmi @@ -1,11 +1,11 @@ {{ $entriesMinusOne := sub (len (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse) 1 }} {{- range first $entriesMinusOne (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }} -{{- $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" }} -{{- .PublishDate.Format $dateFormat | safeHTML }} - {{ .ReadingTime | safeHTML }} minute read +{{- $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}} +📆 {{ .PublishDate.Format $dateFormat | safeHTML }} | ⏱️ {{ .ReadingTime | safeHTML }} minute read => .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }} {{ end }} {{- range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }} -{{- $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" }} -{{- .PublishDate.Format $dateFormat | safeHTML }} - {{ .ReadingTime | safeHTML }} minute read +{{- $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}} +📆 {{ .PublishDate.Format $dateFormat | safeHTML }} | ⏱️ {{ .ReadingTime | safeHTML }} minute read => .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }}{{ end }} |