feat: Add internationalization (i18n) support (#182)

This commit is contained in:
Youssif Shaaban Alsager authored and GitHub committed 2022-08-23 23:32:40 -04:00
1 parent e38eaa94d6
commit 25ba1159ad
19 files changed
+189 -52

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{{ if (and $.Site.Data.config.enableToc (ne .Params.enableToc false) (gt .WordCount 250)) }}
<aside class="mainTOC">
<details {{ if $.Site.Data.config.openToc }}open {{ end }}>
<summary>Table of Contents</summary>
<summary>{{ i18n "toc" }}</summary>
{{ .TableOfContents }}
</details>
</aside>