Add wrapping content flow div
This commit is contained in:
parent
69ee268a44
commit
d7fd7f5c04
1 changed files with 35 additions and 33 deletions
|
@ -46,42 +46,44 @@
|
|||
|
||||
<section class="section" data-headerbg="light">
|
||||
<div class="container">
|
||||
{% if content.field_body_paragraph %}
|
||||
{% for i, paragraph in content.field_body_paragraph if i|first != '#' %}
|
||||
{% if i is not same as(title_paragraph_index) %}
|
||||
{{ paragraph }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{# No, i do not understand why content doesn't print the paragraphs but only
|
||||
content.content does that #}
|
||||
<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 class="flow content">
|
||||
{% if content.field_body_paragraph %}
|
||||
{% for i, paragraph in content.field_body_paragraph if i|first != '#' %}
|
||||
{% if i is not same as(title_paragraph_index) %}
|
||||
{{ paragraph }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{# No, i do not understand why content doesn't print the paragraphs but only
|
||||
content.content does that #}
|
||||
<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>
|
||||
{{ 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>
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Reference in a new issue