diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-07-31 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-01 00:00:00 +0000 |
commit | e2c122bd5d738261a14e05648ee261f816b342b7909a9bfc873be8c8db3e1d98 (patch) | |
tree | ba9bf6ee4321603ddf1fdb298175cd6cadc3f22967eae8318dd7c10314a3b0da /layouts/taxonomy/taxonomy.gmi | |
parent | be38f8fb7725828bc5c21906b6c0a72bd8403af46eb36f4c78278afe229d8434 (diff) | |
download | hugo-theme-journal-e2c122bd5d738261a14e05648ee261f816b342b7909a9bfc873be8c8db3e1d98.tar.gz hugo-theme-journal-e2c122bd5d738261a14e05648ee261f816b342b7909a9bfc873be8c8db3e1d98.zip |
Add multilingual support for taxonomies
Diffstat (limited to 'layouts/taxonomy/taxonomy.gmi')
-rw-r--r-- | layouts/taxonomy/taxonomy.gmi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/taxonomy/taxonomy.gmi b/layouts/taxonomy/taxonomy.gmi index 99fb8f9..ecca4d8 100644 --- a/layouts/taxonomy/taxonomy.gmi +++ b/layouts/taxonomy/taxonomy.gmi @@ -3,10 +3,10 @@ # {{ .Type | humanize }} -## 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" }} -## List +## {{ i18n "list" }} {{- range .Data.Pages }} => {{ .RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} {{- end }} |