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 | 128a10fd3bae307ab4c092cc78ea6071f18ddd29c8b58c0d414acf3980e2c8d6 (patch) | |
tree | 291572e223a939aa756ad6fe9628d89c4138ed138b6a6e0d43f8b8f81e0ae564 /layouts/_default/single.gmi | |
parent | 901a710c500f6a5a93f0866849714c58c448b84aed40160c9f53cdde71774f1f (diff) | |
download | hugo-theme-journal-128a10fd3bae307ab4c092cc78ea6071f18ddd29c8b58c0d414acf3980e2c8d6.tar.gz hugo-theme-journal-128a10fd3bae307ab4c092cc78ea6071f18ddd29c8b58c0d414acf3980e2c8d6.zip |
Add multilingual support for single pages
Diffstat (limited to 'layouts/_default/single.gmi')
-rw-r--r-- | layouts/_default/single.gmi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 1e56f7f..850d57e 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -73,7 +73,7 @@ {{- if and (.Page.Params.makerefs | default true) $refs }} {{- $ref_index := 0 }} -## Links +## {{ i18n "links" }} {{- range $refs }} {{- $ref_index = add $ref_index 1 }} {{- $ref_text := index . 1 }} |