templates/Default/page.html.twig line 1
{% if page %}{% set title = page.title %}{% endif %}{% set iconColor = "#81B0B1" %}{% set titleColor = "#1F4878" %}{% set bgColor = "#ffffff" %}{% set menu = "ministers" %}{% extends 'Default/base.html.twig' %}{% block content %}<div class='{{desktop("gpadding bottom-60-in")}} {{mobile("hz-20-in vt-30-in")}} '>{% if page %}{% set content = page.content|summary %}<div class='{{desktop("flex row top")}} {{mobile("")}}'>{% set hasSidebar = page.picture or page.pictureTitle or page.pictureSubtitle or content.summary|length > 20 %}{% if page.picture or page.pictureTitle or page.pictureSubtitle %}<figure class='{{desktop("third right-80 ")}} {{mobile("w100 bottom-20")}}'>{% if page.picture %}<img src='{{asset(page.picture.file)}}' class='block w100 {{desktop("radius-20")}} {{mobile("radius-10")}}' alt="{{page.pictureTitle ? page.pictureTitle : title}}">{% endif %}<h2 class='h3 success top-20 upper font-alt'>{{page.pictureTitle ? page.pictureTitle}}</h2><h3 class='h6 semibold'>{{page.pictureSubtitle ? page.pictureSubtitle}}</h3></figure>{% elseif content.summary|length > 20 %}<div class='border-right border-1x border-solid border-gray-alt hoverflow {{desktop("third-40 right-80")}} {{mobile("w100 bottom-20")}}'><ul class='list h4'>{{ content.summary|raw }}</ul></div>{% endif %}<div class='w100 {{desktop(hasSidebar ? "" : "gpadding")}} {{mobile("")}} '><div class='article h5 text-justify'>{{ content.content|raw }}</div></div></div>{% endif %}</div>{% endblock %}