all repos — zola-bearblog @ 2ae831f15604a33ab74e212e41741c9f2589a72e

Port of bear blog theme to zola

Use translations for table of contents <summary>

Alan Pearce
commit

2ae831f15604a33ab74e212e41741c9f2589a72e

parent

0ecc7caa75cffd4b864ef006725ed3b8dcbb29a1

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M templates/page.htmltemplates/page.html
@@ -18,7 +18,7 @@ {%- endif %}
{%- 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 %}