Skip to content

Commit

Permalink
reduce the identation of the toc
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad88me committed Jul 16, 2024
1 parent d4f2fa3 commit c1b3458
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ <h2 style="text-align: center;">
display: table;
counter-increment: item;
margin-bottom: 0;
margin-left: -0.1em;
}

.toc-li .toc-ol > .toc-li:before {
Expand All @@ -98,7 +99,7 @@ <h2 style="text-align: center;">
margin: 0.5rem;
}
</style>
{% 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'%}
</div>
</div>
{% endif %}
Expand Down

0 comments on commit c1b3458

Please sign in to comment.