Catch other 2 places field has ridiculously long name

This commit is contained in:
benjamin melançon 2018-12-18 11:21:36 -05:00
parent 3712f6eff5
commit e9de7bb0b8

View file

@ -13,7 +13,7 @@
<div class="media-left">
{{ content.field_image }}
{% if node.bundle == 'case_study' and content.field_subtitle is not empty %}
{% if node.bundle == 'case_study' and content.field_case_study_subtitle is not empty %}
<p class="byline is-mono">
{{ content.field_case_study_subtitle }}
</p>
@ -28,4 +28,4 @@
</a>
<!-- Unexpected extra content -->
{{ content|without('field_body_paragraph', 'field_subtitle', 'field_image', 'field_summary', 'uid', 'created') }}
{{ content|without('field_body_paragraph', 'field_case_study_subtitle', 'field_image', 'field_summary', 'uid', 'created') }}