diff --git a/assets/sass/_theme/blocks/posts.sass b/assets/sass/_theme/blocks/posts.sass index 70de4eab1b449b2b3adc49804010fe3f5bcbd727..103f233f258bd00db29067c8b2a15b87eb380e89 100644 --- a/assets/sass/_theme/blocks/posts.sass +++ b/assets/sass/_theme/blocks/posts.sass @@ -33,27 +33,28 @@ .media picture img width: 100% &--large - @include media-breakpoint-up(sm) - article - .post-meta - display: inline .post .more @include icon(arrow-right, after, true) .post-author p::before display: none - @include media-breakpoint-down(desktop) + .post-meta + display: block + line-height: 0 + .post-categories * + display: inline + @include media-breakpoint-down(desktop) + .post + .post margin-top: $spacing-4 &-meta - .post-author - display: inline-flex + .post-author + display: inline + p + display: inline &::after - content: '—' - margin: 0 $spacing-1 - .post-categories - display: flex + content: ' — ' p[itemprop="articleBody"] margin-top: 0 @include media-breakpoint-up(desktop) @@ -70,25 +71,18 @@ .post-meta > * display: inline - &:not(:first-child)::before - content: '—' - margin-right: $spacing-1 - > time - display: inline-block - margin-top: -2px + &:not(:last-child)::after + content: ' — ' .post-author p display: inline - li - margin-right: $spacing-2 .post-categories li - display: inline-flex - margin-right: $spacing-2 - padding-bottom: 3px - &:not(:last-child)::after + a + display: inline + &:not(:last-child) a::after content: ',' - + @include in-page-with-sidebar .large .post diff --git a/layouts/partials/blocks/templates/posts/large.html b/layouts/partials/blocks/templates/posts/large.html index c76b4099268d0bcf105844a2e217d8e847e8ef25..c434aa6606cf8706eff3be0506158ea2354b1bcd 100644 --- a/layouts/partials/blocks/templates/posts/large.html +++ b/layouts/partials/blocks/templates/posts/large.html @@ -2,7 +2,7 @@ {{ $heading_level := .heading_level | default 3 }} {{ $heading_tag := partial "GetHeadingTag" (dict "level" $heading_level - "attributes" "class='post-title'" + "attributes" "class='post-title' itemprop='headline'" )}} {{ $index := .index}}