From c1b3458bbaba33134923c4e85177f05e008c82cf Mon Sep 17 00:00:00 2001 From: Ahmad Alobaid Date: Tue, 16 Jul 2024 12:18:09 +0200 Subject: [PATCH] reduce the identation of the toc --- _layouts/post.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_layouts/post.html b/_layouts/post.html index ffd0e40..d36f8f0 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -83,6 +83,7 @@

display: table; counter-increment: item; margin-bottom: 0; + margin-left: -0.1em; } .toc-li .toc-ol > .toc-li:before { @@ -98,7 +99,7 @@

margin: 0.5rem; } - {% include toc.html html=content ordered=true class='toc-ol' submenu_class='toc-ol' flat_toc=false h_max=3 item_class='toc-li'%} + {% include toc.html html=content ordered=true class='toc-ol' submenu_class='toc-ol' flat_toc=false h_max=2 item_class='toc-li'%} {% endif %}