about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
authorAlan Pearce2024-05-28 23:32:50 +0200
committerAlan Pearce2024-05-28 23:32:50 +0200
commit2ae831f15604a33ab74e212e41741c9f2589a72e (patch)
tree95bf0b43ecda3273d5b969de8205781587160ea2 /templates
parent0ecc7caa75cffd4b864ef006725ed3b8dcbb29a1 (diff)
downloadzola-bearblog-2ae831f15604a33ab74e212e41741c9f2589a72e.tar.lz
zola-bearblog-2ae831f15604a33ab74e212e41741c9f2589a72e.tar.zst
zola-bearblog-2ae831f15604a33ab74e212e41741c9f2589a72e.zip
Use translations for table of contents <summary>
Diffstat (limited to 'templates')
-rw-r--r--templates/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index 2e2ef86..cb33ab5 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -18,7 +18,7 @@
   {%- endif %}
   {%- if config.extra.table_of_contents.show and not page.extra.hide_table_of_contents and page.toc %}
     <details {%if config.extra.table_of_contents.visible_on_load %}open{% endif %}>
-      <summary>Table of Contents</summary>
+      <summary>{{ trans(key="table_of_contents", lang=lang) }}</summary>
       {{ macros::table_of_contents(toc=page.toc, max_level=config.extra.table_of_contents.max_level) }}
     </details>
   {%- endif %}