Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2250 from ymcatwincities/8.x-2.x
Browse files Browse the repository at this point in the history
update upstream
  • Loading branch information
podarok authored Oct 20, 2020
2 parents 6b645b1 + 73f6c5b commit 375ad15
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,7 @@

{% if content.field_content|render|trim is not empty %}
<div{{ content_attributes.addClass(content_classes) }}>
{% if node.field_lp_layout.value == "one_column" %}
<div class="main-region col-sm-12">
{{ content.field_content }}
{% if content.addthis is not empty %}
{{ content.addthis }}
{% endif %}
{% if content.field_sidebar_content.0 %}
<aside{{ sidebar_attributes.addClass(sidebar_classes) }}>
{{ content.field_sidebar_content }}
</aside>
{% endif %}
</div>
{% elseif ( node.field_lp_layout.value == "two_column" ) or ( node.field_lp_layout.value == "two_column_fixed" ) %}
{% if ( node.field_lp_layout.value == "two_column" ) or ( node.field_lp_layout.value == "two_column_fixed" ) %}
<div class="two-column">
<div class="main-region col-sm-8">
{{ content.field_content }}
Expand Down Expand Up @@ -163,6 +151,18 @@
{% endif %}
</div>
</div>
{% else %}
<div class="main-region{{ node.field_lp_layout.value == "one_column" ? ' col-sm-12' : '' }}">
{{ content.field_content }}
{% if content.addthis is not empty %}
{{ content.addthis }}
{% endif %}
{% if content.field_sidebar_content.0 %}
<aside{{ sidebar_attributes.addClass(sidebar_classes) }}>
{{ content.field_sidebar_content }}
</aside>
{% endif %}
</div>
{% endif %}
</div>
{% endif %}
Expand Down

0 comments on commit 375ad15

Please sign in to comment.