aboutsummaryrefslogtreecommitdiff
path: root/layouts/term/term.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/term/term.gmi')
-rw-r--r--layouts/term/term.gmi8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/term/term.gmi b/layouts/term/term.gmi
index d4c0d7d..fd8db55 100644
--- a/layouts/term/term.gmi
+++ b/layouts/term/term.gmi
@@ -1,12 +1,12 @@
{{ define "main" -}}
-=> / {{ emojify ":link:" | safeHTML }} Return to homepage
+=> {{ .Site.Home.RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ i18n "returnHome" }}
# {{ .Type | singularize | humanize | safeHTML }} "{{ .Title | safeHTML }}"
-## Feeds
-=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "atom.xml" | safeHTML }} {{ emojify ":link:" | safeHTML }} Atom Feed
+## {{ i18n "feeds" }}
+=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "atom.xml" | safeHTML }} {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }}
-## Journal Entries
+## {{ i18n "journalEntries" }}
{{ $entriesMinusOne := sub (len .Data.Pages) 1 -}}
{{ range first $entriesMinusOne .Data.Pages.ByPublishDate.Reverse -}}
{{ partial "metadata.gmi" . }}