diff --git a/assets/sass/_theme/_configuration.sass b/assets/sass/_theme/_configuration.sass index 7474e61a6a08b1c34eabd05c1939624cf94adba9..c918557dd7da7d325c26010b47cd998e4537d72d 100644 --- a/assets/sass/_theme/_configuration.sass +++ b/assets/sass/_theme/_configuration.sass @@ -215,7 +215,7 @@ $program-share-font-size: $h5-size !default $program-share-font-size-md: $h5-size-md !default $program-zindex-toc: $zindex-toc !default -// Layout posts list +// Layout posts list (ne concerne pas les blocks posts) $posts-layout-list: false !default // MISC diff --git a/assets/sass/_theme/blocks/posts.sass b/assets/sass/_theme/blocks/posts.sass index ae6aa28c13780ba18318646ab336561f81691937..21b02a155b9fac5e19b93ec447be56a91ec29402 100644 --- a/assets/sass/_theme/blocks/posts.sass +++ b/assets/sass/_theme/blocks/posts.sass @@ -1,4 +1,4 @@ -.posts__page - aside - @include container - margin-top: $spacing1 \ No newline at end of file +.block-posts + .posts + @include grid(1) + @include grid(3, md) \ No newline at end of file diff --git a/assets/sass/_theme/sections/posts.sass b/assets/sass/_theme/sections/posts.sass index c8f49443e0d6817a20d9f3f633e856f0cea3c0ba..736f7b07f300cf75aa144671a2da126e402d6a54 100644 --- a/assets/sass/_theme/sections/posts.sass +++ b/assets/sass/_theme/sections/posts.sass @@ -54,13 +54,17 @@ p, a max-width: col(6, 9) - @else .posts @include grid(1) @include grid(2, md) @include grid(3, xl) +.posts__page + aside + @include container + margin-top: $spacing1 + .post-categories @include list-reset @extend .small