diff --git a/assets/sass/_theme/sections/categories.sass b/assets/sass/_theme/sections/categories.sass index e6f6767ba9d21e011572f56e4d62f0625a9cf02e..2d3c05e69b14c4a40cb1b10e8f293f6a43127f02 100644 --- a/assets/sass/_theme/sections/categories.sass +++ b/assets/sass/_theme/sections/categories.sass @@ -4,4 +4,8 @@ ul.categories a:first-child & + p text-align: right - white-space: nowrap \ No newline at end of file + white-space: nowrap + +.categories__term + main + padding-bottom: $spacing3 \ No newline at end of file diff --git a/assets/sass/_theme/sections/posts.sass b/assets/sass/_theme/sections/posts.sass index 09fc68684b2f63db473e2228e42224332bfc7ace..ced7fcd500c99dfa584e9212312bb5dd2b3ae023 100644 --- a/assets/sass/_theme/sections/posts.sass +++ b/assets/sass/_theme/sections/posts.sass @@ -86,7 +86,6 @@ .lead @include h3 - .post-categories @include list-reset margin: 0 diff --git a/layouts/categories/list.html b/layouts/categories/list.html index 391cccf5d98f7e4fd61e397b64b304557966e676..dc40e99731e7e266dd5cfe56cd0fd6eff130e318 100644 --- a/layouts/categories/list.html +++ b/layouts/categories/list.html @@ -1,8 +1,10 @@ {{ define "main" }} {{ partial "categories/hero-list.html" . }} - <div class="document-content container"> - {{ partial "categories/categories.html" . }} - {{ partial "commons/pagination.html" . }} + <div class="document-content"> + <div class="container"> + {{ partial "categories/categories.html" . }} + {{ partial "commons/pagination.html" . }} + </div> </div> {{ end }} diff --git a/layouts/categories/term.html b/layouts/categories/term.html index be77cfbddafda2667523bed0ccce2bf20828101d..3ad184382b4707c0fb06f9e3fcf4e17b89563a3c 100644 --- a/layouts/categories/term.html +++ b/layouts/categories/term.html @@ -1,11 +1,24 @@ {{ define "main" }} {{ partial "categories/hero-term.html" . }} - <div class=" document-content container"> - {{ partial "categories/chapo.html" (dict - "context" . + <div class="document-content"> + {{ partial "toc/container.html" + (dict + "toc" "toc/default.html" + "context" . + ) + }} + + {{ partial "posts/chapo.html" (dict + "context" . + "block_wrapped" true ) }} - {{ partial "posts/posts.html" . }} - {{ partial "commons/pagination.html" . }} + + {{ partial "blocks/list.html" . }} + + <div class="container"> + {{ partial "posts/posts.html" . }} + {{ partial "commons/pagination.html" . }} + </div> </div> {{ end }}