diff --git a/assets/js/theme/design-system/dropdowns.js b/assets/js/theme/design-system/dropdowns.js index 7d892a0f57e5a9182515d07da8f0a36ee1b9463d..79923dfbaa7bfc7806d430bd5a7e326316106740 100644 --- a/assets/js/theme/design-system/dropdowns.js +++ b/assets/js/theme/design-system/dropdowns.js @@ -28,3 +28,5 @@ class Dropdown { new Dropdown(selector); } }); + +// TODO : A11Y fermer dropdown avec la touche escap + s'assurer de conserver l'emplacement du focus diff --git a/assets/sass/_theme/_configuration.sass b/assets/sass/_theme/_configuration.sass index b90f5be75ec412b9b5da5aee77b711e8265954af..7474e61a6a08b1c34eabd05c1939624cf94adba9 100644 --- a/assets/sass/_theme/_configuration.sass +++ b/assets/sass/_theme/_configuration.sass @@ -216,7 +216,7 @@ $program-share-font-size-md: $h5-size-md !default $program-zindex-toc: $zindex-toc !default // Layout posts list -$posts-list-horizontal: false !default +$posts-layout-list: false !default // MISC diff --git a/assets/sass/_theme/sections/posts.sass b/assets/sass/_theme/sections/posts.sass index 8395cfac1a125d6da3c80550fb2a6bad947274a6..c8f49443e0d6817a20d9f3f633e856f0cea3c0ba 100644 --- a/assets/sass/_theme/sections/posts.sass +++ b/assets/sass/_theme/sections/posts.sass @@ -18,7 +18,7 @@ .hero margin-bottom: $spacing4 - @if $posts-list-horizontal + @if $posts-layout-list .posts @include grid(1) grid-gap: 0 @@ -30,7 +30,7 @@ display: flex flex-direction: row @include media-breakpoint-up(md) - @include grid(12, md) + @include grid div:not(.media) grid-column: 4/13 @include media-breakpoint-down(md) @@ -53,7 +53,7 @@ div:not(.media) p, a - max-width: col(8) + max-width: col(6, 9) @else .posts diff --git a/layouts/partials/header/breadcrumbs.html b/layouts/partials/header/breadcrumbs.html index f9c7b19445705b08dbbd8297c2216d479342e89b..6f4c83b5823891fe004f8132b120b7ede22a6577 100644 --- a/layouts/partials/header/breadcrumbs.html +++ b/layouts/partials/header/breadcrumbs.html @@ -52,7 +52,7 @@ {{- else -}} <a itemprop="item" href="{{ .page.Permalink }}"> {{- end }} - <span itemprop="name">{{- $title -}}</span> + <span itemprop="name">{{- partial "PrepareHTML" $title -}}</span> <meta itemprop="position" content="{{- .position -}}"> {{ if .active -}} </span>