congo/layouts/partials/toc.html

11 lines
447 B
HTML
Raw Permalink Normal View History

<details open class="-ms-5 mt-0 overflow-hidden rounded-lg ps-5">
2022-01-18 05:24:33 +00:00
<summary
class="-ms-5 block cursor-pointer bg-neutral-100 py-1 ps-5 text-lg font-semibold text-neutral-800 dark:bg-neutral-700 dark:text-neutral-100 lg:hidden"
2022-01-18 05:24:33 +00:00
>
{{ i18n "article.table_of_contents" }}
</summary>
<div class="-ms-5 border-s border-dotted border-neutral-300 py-2 ps-5 dark:border-neutral-600">
{{ .TableOfContents | emojify }}
2022-01-18 05:24:33 +00:00
</div>
</details>