aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
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
commit178711418fc11bf05321127aa09c8c718d1695963e2b8023d7e8fbe8cbb1ee44 (patch)
treea59f638d283f28496cdbf8ed654f8334b04e9266adc609c438566b0bb83169b4 /layouts/index.html
parent128a10fd3bae307ab4c092cc78ea6071f18ddd29c8b58c0d414acf3980e2c8d6 (diff)
downloadhugo-theme-journal-178711418fc11bf05321127aa09c8c718d1695963e2b8023d7e8fbe8cbb1ee44.tar.gz
hugo-theme-journal-178711418fc11bf05321127aa09c8c718d1695963e2b8023d7e8fbe8cbb1ee44.zip
Add multilingual support for index pages
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index d29c86a..3161c49 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,7 +6,7 @@
{{- if .Site.Params.indexIntro }}
<p>{{ .Site.Params.indexIntro }}</p>
{{- end }}
- <h2>Navigation Links</h2>
+ <h2>{{ i18n "navLinks" }}</h2>
<nav>
<ul class="list">
{{- range .Site.Menus.main }}
@@ -14,7 +14,7 @@
{{- end }}
</ul>
</nav>
- <h2>Journal Entries</h2>
+ <h2>{{ i18n "journalEntries" }}</h2>
{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse -}}
{{ partial "metadata.html" . -}}
{{ end -}}