Use table_of_contents string instead of toc

This commit is contained in:
daudix
2024-12-01 17:17:34 +03:00
parent 60e8168876
commit 0d479ef409
7 changed files with 11 additions and 8 deletions

View File

@ -12,7 +12,7 @@
{%- if page.extra.toc or section.extra.toc -%}
{%- if toc | length > 0 -%}
<h2>{{ macros_translate::translate(key="toc", default="Table of Contents", language_strings=language_strings) }}</h2>
<h2>{{ macros_translate::translate(key="table_of_contents", default="Table of Contents", language_strings=language_strings) }}</h2>
<{{ list_element }}>
{%- for h1 in toc -%}
<li>