Skip to content
Snippets Groups Projects
Commit d9db69c4 authored by alexisben's avatar alexisben
Browse files

change selector for posts

parent 8c6c08f0
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
@include grid($block-posts-grid-columns, desktop)
article
@include author-and-time-side-to-side
> [itemprop=headline]
.post-title
a
@include stretched-link
text-decoration: none
......@@ -134,7 +134,7 @@
display: flex
flex-direction: column
padding-top: $spacing-2
[itemprop=headline]
.post-title
margin-bottom: 0
.post-categories
margin-bottom: 0
......@@ -180,7 +180,7 @@
&--highlight
.highlight-post
[itemprop=headline]
.post-title
margin-bottom: $spacing-2
.media
margin-bottom: $spacing-2
......@@ -207,11 +207,11 @@
@include media-breakpoint-up(desktop)
.highlight
[itemprop=headline]
.post-title
@include h2
.list
article
[itemprop=headline]
.post-title
@include h4
@include in-page-with-sidebar
......@@ -227,7 +227,7 @@
.list
article
@include grid(8, desktop, 0, 0)
[itemprop=headline]
.post-title
grid-column: 1 / 7
.post-categories
grid-column: 1 / 7
......@@ -323,7 +323,7 @@
@include in-page-with-sidebar
.post
width: columns(3)
[itemprop="headline"]
.post-title
@include h4
.carousel
.actions-arrows
......
......@@ -25,7 +25,7 @@
margin-bottom: $spacing-3
padding-bottom: $spacing-3
flex-direction: row
[itemprop=headline] + p
.post-title + p
margin-top: $spacing-2
@include media-breakpoint-up(desktop)
@include grid
......@@ -57,7 +57,7 @@
time
font-size: $h5-size
.post-content
[itemprop=headline],
.post-title,
> p
max-width: columns(6)
.posts--grid
......
{{ $heading_level := .heading_level | default 3 }}
{{ $heading := printf "h%d" $heading_level }}
{{ $heading_tag := (dict
"open" ((printf "<%s itemprop='headline'>" $heading) | safeHTML)
"open" ((printf "<%s class='post-title' itemprop='headline'>" $heading) | safeHTML)
"close" ((printf "</%s>" $heading) | safeHTML)
) }}
<div class="highlight">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment