Don't drop title down at all for non-fancy content types

And we display a solid color instead of an image where we *do* expect an image but there
isn't one, so no need for the no-featured-image class or extra margin in that case.

Ref #28
Ref #32
Ref #26
Ref #27
Ref #29
This commit is contained in:
benjamin melançon 2019-09-23 08:07:23 -04:00
parent 62dc4757bd
commit 397748d38f
2 changed files with 12 additions and 12 deletions

View file

@ -80,7 +80,6 @@ node.isSticky() ? 'is-sticky',
not node.isPublished() ? 'is-unpublished',
view_mode ? view_mode|clean_class,
'clearfix',
content.field_image|render is empty ? 'no-featured-image',
] %}
<article{{ attributes.addClass(classes) }}>