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