diff --git a/assets/plugins/_numbered.scss b/assets/plugins/_numbered.scss index 56cda5ac..dc9b04bd 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 49a31217..a6c4c07f 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 301ca1ee..495c036e 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 31ecd903..1d3e7630 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 }}