Article TOC: Make TOC title translateable

This commit is contained in:
v1ne
2019-11-19 22:05:23 +01:00
committed by Carson Ip
parent 27d1950183
commit a6c2a347f5
2 changed files with 3 additions and 1 deletions

View File

@@ -35,7 +35,7 @@
{{ if not .Params.notoc }}
{{ if .TableOfContents }}
<div class="article-toc" {{ if .Site.Params.SmartToc }}style="display:none;"{{ end }}>
<h3>Contents</h3>
<h3>{{ T "Contents" }}</h3>
{{ .TableOfContents }}
</div>
{{ end }}