summaryrefslogtreecommitdiff
path: root/layouts/term/term.gmi
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-08-01 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-08-01 00:00:00 +0000
commit901a710c500f6a5a93f0866849714c58c448b84aed40160c9f53cdde71774f1f (patch)
tree01377807abcb65ff064962e4e7bdae32d45dae4e10c2a9c843b6369d2e04de4e /layouts/term/term.gmi
parente2c122bd5d738261a14e05648ee261f816b342b7909a9bfc873be8c8db3e1d98 (diff)
downloadhugo-theme-journal-901a710c500f6a5a93f0866849714c58c448b84aed40160c9f53cdde71774f1f.tar.gz
hugo-theme-journal-901a710c500f6a5a93f0866849714c58c448b84aed40160c9f53cdde71774f1f.zip
Add multilingual support for sections
Diffstat (limited to 'layouts/term/term.gmi')
-rw-r--r--layouts/term/term.gmi6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/term/term.gmi b/layouts/term/term.gmi
index e58960b..fd8db55 100644
--- a/layouts/term/term.gmi
+++ b/layouts/term/term.gmi
@@ -3,10 +3,10 @@
# {{ .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" . }}