Remove project details output from non-case-study content

This commit is contained in:
benjamin melançon 2018-11-18 13:07:39 -05:00
parent f0b9a0a5d7
commit d1458159e8

View file

@ -112,35 +112,8 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{# No, i do not understand why content doesn't print the paragraphs but only <!-- Unexpected extra content -->
content.content does that #} {{ content|without('field_body_paragraph', 'field_authors', 'uid', 'created') }}
<div class="flow_full">
<div class="titlebar titlebar-bigborder content">
<div class="titlebar_title">
<h3 class="subtitle is-mono is-4">Project Details</h3>
</div>
</div>
<div class="columns">
<div class="column">
{{ content.field_case_study_client }}
{{ content.field_case_study_year }}
{{ content.field_case_study_status }}
</div>
<div class="column">
{{ content.field_technologies }}
{{ content.field_services }}
</div>
<div class="column">
{{ content.field_case_study_team }}
{{ content.field_case_study_partners }}
</div>
</div>
</div>
{{ content|without('content', 'field_body_paragraph',
'field_case_study_client', 'field_case_study_partners', 'field_case_study_status',
'field_case_study_team', 'field_case_study_year', 'field_technologies',
'field_services', 'uid', 'created'
) }}
</div> </div>
</div> </div>
</section> </section>