#524: Disable numbered plugin for non-article pages

This commit is contained in:
Alex Shpak
2023-12-05 00:33:41 +01:00
parent 14e14f60ae
commit 118997fa92
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
$startLevel: 1;
$endLevel: 6;
.book-page .markdown {
.book-page .markdown.book-article {
@for $currentLevel from $startLevel through $endLevel {
> h#{$currentLevel} {
counter-increment: h#{$currentLevel};
@@ -19,7 +19,7 @@ $endLevel: 6;
}
}
.book-toc nav ul {
.book-toc nav#TableOfContents ul {
li {
counter-increment: item;