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}}