congo/layouts/partials/toc.html

13 lines
552 B
HTML
Raw Permalink Normal View History

<details open class="mt-0 overflow-hidden rounded-lg ltr:-ml-5 ltr:pl-5 rtl:-mr-5 rtl:pr-5">
2022-01-18 05:24:33 +00:00
<summary
class="block py-1 text-lg font-semibold cursor-pointer bg-neutral-100 text-neutral-800 ltr:-ml-5 ltr:pl-5 rtl:-mr-5 rtl:pr-5 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="py-2 border-dotted border-neutral-300 ltr:-ml-5 ltr:border-l ltr:pl-5 rtl:-mr-5 rtl:border-r rtl:pr-5 dark:border-neutral-600"
2022-01-18 05:24:33 +00:00
>
{{ .TableOfContents | emojify }}
2022-01-18 05:24:33 +00:00
</div>
</details>