diff --git a/assets/css/main.css b/assets/css/main.css index d4fda09..219d52d 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -70,4 +70,8 @@ border-left: 2px solid; margin: 20px; padding: 10px 40px; -} \ No newline at end of file +} + +.toc li ul { + margin-left: var(--gap); +} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0af5019..8c037ff 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -26,7 +26,7 @@
Table of Contents
- {{ .TableOfContents }} + {{ partial "toc.html" . }}