From 8f2ca5058e215cd044638f771efbafc5caa7ea0e Mon Sep 17 00:00:00 2001 From: MultiMote Date: Sat, 7 Jan 2023 19:27:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=B4=D0=B5=D1=80=D0=B6?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=BE=D0=B3=D0=BB=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.toml | 3 +++ themes/mmotium/layouts/shortcodes/toc.html | 1 + 2 files changed, 4 insertions(+) create mode 100644 themes/mmotium/layouts/shortcodes/toc.html diff --git a/config.toml b/config.toml index a3e53c4..1e51678 100644 --- a/config.toml +++ b/config.toml @@ -18,3 +18,6 @@ enableRobotsTXT = true [markup.goldmark.parser] wrapStandAloneImageWithinParagraph = false + +[markup.tableOfContents] + endLevel = 4 diff --git a/themes/mmotium/layouts/shortcodes/toc.html b/themes/mmotium/layouts/shortcodes/toc.html new file mode 100644 index 0000000..9829181 --- /dev/null +++ b/themes/mmotium/layouts/shortcodes/toc.html @@ -0,0 +1 @@ +{{.Page.TableOfContents}}