Add translation for toc title
This commit is contained in:
@ -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 }}
|
||||||
|
Reference in New Issue
Block a user