@ -9,11 +9,6 @@ block content
.article-container
.article-header
- const has_cover = (page.cover !== undefined && page.cover !== null && page.cover != '')
a(
data-fancybox
href=has_cover ? page.cover : undefined
data-caption="Single image"
)
img.post-cover(src=has_cover ? page.cover : "/img/no_image.svg")
.article-info
@ -30,12 +30,9 @@
$post-width = 384px
$post-heigth = 216px
img.post-cover
width: $post-width
min-width: $post-width
max-width: $post-width
width: 32%
object-fit: cover
transition: all 0.2s linear 0s
/* filter: drop-shadow(1px 1px 2px #4a473e); */
border-color: #4a473e91;
border-style: solid;
border-width: 2px;