assign class to post-image
This commit is contained in:
@@ -46,6 +46,7 @@ img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
vertical-align: middle;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.content {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<a class="card-link" href="{{ page.url }}">
|
||||
<article class="blog-card">
|
||||
{{ hero_image.html|absolute_url|raw }}
|
||||
{{ hero_image.html(meta.title|e, meta.alt_text|e, 'post-image')|absolute_url|raw }}
|
||||
<div class="post-details">
|
||||
<h4 class="post-meta">{{ page.date|date("d.m.Y") }}</h4>
|
||||
<h2 class="post-title">{{ page.title }}</h2>
|
||||
|
||||
Reference in New Issue
Block a user