diff --git a/assets/plugins/_numbered.scss b/assets/plugins/_numbered.scss index 56cda5a..dc9b04b 100644 --- a/assets/plugins/_numbered.scss +++ b/assets/plugins/_numbered.scss @@ -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; diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 49a3121..a6c4c07 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -73,7 +73,7 @@ {{ end }} {{ define "main" }} -
+
{{- .Content -}}
{{ end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 301ca1e..495c036 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+

{{ partial "docs/title.html" . }}

diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index 31ecd90..1d3e763 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+

{{ .Title | title }}

{{ $taxonomies := index .Site.Taxonomies .Page.Type }} {{ range $taxonomies }}