mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
i18n: add support for toc translation
This commit is contained in:
parent
b7490b8401
commit
7cc579f197
@ -23,7 +23,7 @@
|
|||||||
<div class="toc">
|
<div class="toc">
|
||||||
<details {{if .Params.TocOpen }} open{{ end }}>
|
<details {{if .Params.TocOpen }} open{{ end }}>
|
||||||
<summary>
|
<summary>
|
||||||
<div class="details">Table of Contents</div>
|
<div class="details">{{ i18n "toc" | default "Table of Contents" }}</div>
|
||||||
</summary>
|
</summary>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
{{ partial "toc.html" . }}
|
{{ partial "toc.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user