|
|
@ -9,11 +9,6 @@ block content |
|
|
|
.article-container |
|
|
|
.article-container |
|
|
|
.article-header |
|
|
|
.article-header |
|
|
|
- const has_cover = (page.cover !== undefined && page.cover !== null && page.cover != '') |
|
|
|
- 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") |
|
|
|
img.post-cover(src=has_cover ? page.cover : "/img/no_image.svg") |
|
|
|
|
|
|
|
|
|
|
|
.article-info |
|
|
|
.article-info |
|
|
|