@ -9,12 +9,7 @@ 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
span.article-title= page.title
@ -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;