diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-02 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-02 00:00:00 +0000 |
commit | f25b51982ce3817da2587db86bf5ed2b802f4d5ad900e852f26ea7530e618e04 (patch) | |
tree | 13460ad0c83914767070b7f6cf4b42c48c4ca35fad9f5fe8036c61bc4f5e59d1 | |
parent | 3ce196da98e15717e5f0f1f998393577b93c8c92f60a86c97aa3b951dbce34be (diff) | |
download | hugo-theme-journal-f25b51982ce3817da2587db86bf5ed2b802f4d5ad900e852f26ea7530e618e04.tar.gz hugo-theme-journal-f25b51982ce3817da2587db86bf5ed2b802f4d5ad900e852f26ea7530e618e04.zip |
Rename links var to references
-rw-r--r-- | i18n/en.toml | 4 | ||||
-rw-r--r-- | layouts/_default/single.gmi | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/i18n/en.toml b/i18n/en.toml index ddb5f1c..26d2edc 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -20,8 +20,8 @@ [journalEntries] other = "Journal Entries" -[links] - other = "Links" +[refs] + other = "References" [navLinks] other = "Navigation Links" diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 850d57e..b145439 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 }} -## {{ i18n "links" }} +## {{ i18n "refs" }} {{- range $refs }} {{- $ref_index = add $ref_index 1 }} {{- $ref_text := index . 1 }} |