aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorJieiku2023-05-22 22:39:16 -0700
committerJieiku2023-05-22 22:39:16 -0700
commit2d0788c3981328f1fbd9de4274d2925bf9586e03 (patch)
treecee4b3c0a624ce79fcc14b2c57789a95578e4ea5 /templates/page.html
parent6dcec618d0ff0a2270f787f62267a0622275c69d (diff)
downloadabridge-2d0788c3981328f1fbd9de4274d2925bf9586e03.tar.gz
abridge-2d0788c3981328f1fbd9de4274d2925bf9586e03.tar.bz2
abridge-2d0788c3981328f1fbd9de4274d2925bf9586e03.zip
Add multi-lingual Support
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index da4fdd6..6d5188d 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -57,7 +57,7 @@
{%- if toc %}
<div class="toc" aria-hidden="true">
<div class="toc-sticky">
- <h3>Index</h3>
+ <h3>{%- if lang != config.default_language %}{{ trans(key="Index" | safe, lang=lang) }}{% else %}Index{% endif %}</h3>
{%- for h in toc %}
<div class="toc-item">
<a class="subtext" href="{{h.permalink | safe}}">{{ h.title }}</a>