mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-17 00:24:24 -04:00
i18n: add support for toc translation
This commit is contained in:
parent
b7490b8401
commit
7cc579f197
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
<div class="toc">
|
||||
<details {{if .Params.TocOpen }} open{{ end }}>
|
||||
<summary>
|
||||
<div class="details">Table of Contents</div>
|
||||
<div class="details">{{ i18n "toc" | default "Table of Contents" }}</div>
|
||||
</summary>
|
||||
<blockquote>
|
||||
{{ partial "toc.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue