Browse Source

sideshow on lp

master
rdrew 3 days ago
parent
commit
c3a9c78fd3
  1. 18
      templates/content/node--landing-page.html.twig

18
templates/content/node--landing-page.html.twig

@ -80,7 +80,8 @@ not node.isPublished() ? 'node--unpublished',
view_mode ? 'node--view-mode-' ~ view_mode|clean_class,
]
%}
<article{{ attributes.addClass(classes) }}>
<div class="lp_layout_container">
<article{{ attributes.addClass(classes) }}>
<header class="{{ layout }}">
{{ title_prefix }}
{% if label and not page %}
@ -106,11 +107,12 @@ view_mode ? 'node--view-mode-' ~ view_mode|clean_class,
<div{{ content_attributes.addClass('node__content', layout) }}>
{# Comments not part of content, so they won't inherit .text-content styles. #}
{{ content|without('comment') }}
</div>
{% if content.comment %}
<div id="comments" class="{{ layout }}">
</div>
{% if content.comment %}
<div id="comments" class="{{ layout }}">
{{ content.comment }}
</div>
{% endif %}
</article>
<aside class="slider">slider</aside>
</div>
{% endif %}
</article>
<aside class="slider">slider</aside>
</div>

Loading…
Cancel
Save