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]
|
[wordCount]
|
||||||
other = "{{ .WordCount }} Words"
|
other = "{{ .WordCount }} Words"
|
||||||
|
|
||||||
|
[tableOfContents]
|
||||||
|
other = "Table of Contents"
|
||||||
|
|
||||||
[newer]
|
[newer]
|
||||||
other = "Newer"
|
other = "Newer"
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@ other = "归档"
|
||||||
[wordCount]
|
[wordCount]
|
||||||
other = "{{ .WordCount }} 字"
|
other = "{{ .WordCount }} 字"
|
||||||
|
|
||||||
|
[tableOfContents]
|
||||||
|
other = "目录"
|
||||||
|
|
||||||
[newer]
|
[newer]
|
||||||
other = "新"
|
other = "新"
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
</article>
|
</article>
|
||||||
{{- if .Params.toc }}
|
{{- if .Params.toc }}
|
||||||
<aside id="toc">
|
<aside id="toc">
|
||||||
<div class="toc-title">Table of Contents</div>
|
<div class="toc-title">{{ i18n "tableOfContents" }}</div>
|
||||||
{{ .TableOfContents }}
|
{{ .TableOfContents }}
|
||||||
</aside>
|
</aside>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue