diff --git a/agaric/templates/layout/layout--onecol--node.html.twig b/agaric/templates/layout/layout--onecol--node.html.twig index ed498a9..3df50fa 100644 --- a/agaric/templates/layout/layout--onecol--node.html.twig +++ b/agaric/templates/layout/layout--onecol--node.html.twig @@ -8,8 +8,7 @@ * - attributes: HTML attributes for the layout
. * * @ingroup themeable - TODO set a variable for background image so we can use base_path rather than / - setAttribute('data-headerbg', 'transparent').setAttribute('style', 'background-image:url(/themes/custom/agarica/patternlibrary/agaric/images/fpo-video-poster.png)') +@TODO move to landing page {% if is_front %} {% set classes = classes|merge(['hero-main', 'is-large']) %} {% endif %} @@ -27,7 +26,6 @@ {% if content.field_body_paragraph %} {% for i, paragraph in content.field_body_paragraph if i|first != '#' %} {% if content.field_body_paragraph['#items'][i].entity.type.0.entity.id == 'title' %} - HOLY MOLY THIS HAS TAKEN A WHILE {% set has_title_paragraph = true %} {% set title_paragraph_index = i %} {{ paragraph }} @@ -46,21 +44,13 @@ {% endif %} - +
{% for i, paragraph in content.field_body_paragraph if i|first != '#' %} {% if i is not same as(title_paragraph_index) %} {{ paragraph }} {% endif %} {% endfor %} - {{ content|without('content', 'field_body_paragraph') }} + {{ content }}
-SANITY CHECK - -{{ content }} - -NOPE EVERYTHING IS INSANE OH WELL - -{{ content.content }} - {% endif %}