i18n: add support for toc translation

This commit is contained in:
Aditya Telange 2020-09-22 12:04:14 +05:30
parent b7490b8401
commit 7cc579f197
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 1 additions and 1 deletions

View File

@ -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" . }}