diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-01 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-01 00:00:00 +0000 |
commit | 901a710c500f6a5a93f0866849714c58c448b84aed40160c9f53cdde71774f1f (patch) | |
tree | 01377807abcb65ff064962e4e7bdae32d45dae4e10c2a9c843b6369d2e04de4e /layouts/term/term.html | |
parent | e2c122bd5d738261a14e05648ee261f816b342b7909a9bfc873be8c8db3e1d98 (diff) | |
download | hugo-theme-journal-901a710c500f6a5a93f0866849714c58c448b84aed40160c9f53cdde71774f1f.tar.gz hugo-theme-journal-901a710c500f6a5a93f0866849714c58c448b84aed40160c9f53cdde71774f1f.zip |
Add multilingual support for sections
Diffstat (limited to 'layouts/term/term.html')
-rw-r--r-- | layouts/term/term.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/term/term.html b/layouts/term/term.html index 93f537d..4841673 100644 --- a/layouts/term/term.html +++ b/layouts/term/term.html @@ -4,9 +4,9 @@ </nav> <main> <h1>{{ .Type | singularize | humanize }} "{{ .Title }}"</h1> - <h2>Feeds</h2> - <p><a class="link" href="{{ print .RelPermalink "atom.xml" }}" rel="noreferrer"> {{ emojify ":link:" | safeHTML }} Atom Feed</a></p> - <h2>Journal Entries</h2> + <h2>{{ i18n "feeds" }}</h2> + <p><a class="link" href="{{ print .RelPermalink "atom.xml" }}" rel="noreferrer"> {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }}</a></p> + <h2>{{ i18n "journalEntries" }}</h2> {{- range .Data.Pages.ByPublishDate.Reverse }} {{ partial "metadata.html" . -}} {{- end -}} |