Add translation for toc title
This commit is contained in:
parent
feb4c38717
commit
2b5999616d
3 changed files with 7 additions and 1 deletions
|
@ -17,6 +17,9 @@ other = "Archives"
|
|||
[wordCount]
|
||||
other = "{{ .WordCount }} Words"
|
||||
|
||||
[tableOfContents]
|
||||
other = "Table of Contents"
|
||||
|
||||
[newer]
|
||||
other = "Newer"
|
||||
|
||||
|
|
|
@ -17,6 +17,9 @@ other = "归档"
|
|||
[wordCount]
|
||||
other = "{{ .WordCount }} 字"
|
||||
|
||||
[tableOfContents]
|
||||
other = "目录"
|
||||
|
||||
[newer]
|
||||
other = "新"
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</article>
|
||||
{{- if .Params.toc }}
|
||||
<aside id="toc">
|
||||
<div class="toc-title">Table of Contents</div>
|
||||
<div class="toc-title">{{ i18n "tableOfContents" }}</div>
|
||||
{{ .TableOfContents }}
|
||||
</aside>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue