mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 05:44:06 -06:00
* Extract all strings into data/locale.toml files. * Use data/config values from correct language file. * Fix wrong lang attribute in some html layouts. * Fix header direction in rtl. * Fix footer text align in rtl. Signed-off-by: yshalsager <ysh-alsager@hotmail.com>
9 lines
288 B
HTML
9 lines
288 B
HTML
{{ 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>{{ i18n "toc" }}</summary>
|
|
{{ .TableOfContents }}
|
|
</details>
|
|
</aside>
|
|
{{end}}
|