From 91d9491fb2b4c9c83c116f3703764b1a009c158be10427a8f10575c908661a4e Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 3 Sep 2022 00:00:00 +0000 Subject: Add link emoji to give links some style --- layouts/partials/metadata.gmi | 4 ++-- layouts/partials/metadata.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi index f5cca3b..693ac32 100644 --- a/layouts/partials/metadata.gmi +++ b/layouts/partials/metadata.gmi @@ -2,10 +2,10 @@ {{- 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 -=> .{{ .RelPermalink }} {{ .Title | safeHTML }} +=> .{{ .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 -=> .{{ .RelPermalink }} {{ .Title | safeHTML }}{{ end }} +=> .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }}{{ end }} diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index 92c0b83..35385a1 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -3,7 +3,7 @@

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

+ 🔗 {{ .Title }}

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