From 2ae831f15604a33ab74e212e41741c9f2589a72e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 28 May 2024 23:32:50 +0200 Subject: Use translations for table of contents --- templates/page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/page.html') 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 %}
- Table of Contents + {{ trans(key="table_of_contents", lang=lang) }} {{ macros::table_of_contents(toc=page.toc, max_level=config.extra.table_of_contents.max_level) }}
{%- endif %} -- cgit 1.4.1