{# {% extends "block.html.twig" %} #} {# /** * @file * Theme override for a branding block. * * Each branding element variable (logo, name, slogan) is only available if * enabled in the block configuration. * * Available variables: * - site_logo: Logo for site as defined in Appearance or theme settings. * - site_name: Name for site as defined in Site information settings. * - site_slogan: Slogan for site as defined in Site information settings. */ #} {% set classes = [ 'block', 'block--' ~ configuration.label|clean_class, 'col-2', 'pl-md-0', 'pl-lg-16', ] %} {{ title_prefix }} {% if label %} {{ label }} {% endif %} {{ title_suffix }} {% if site_name %} {% if site_name == "York Region District School Board" %} Mobile Logo Desktop Logo {% else %} {% if secondary_logo.url and secondary_logo_mobile.url %} Mobile Logo Desktop Logo {% else %} Mobile Logo Desktop Logo {% endif %}
{{ content['site_name']['#markup'] }}
{% endif %} {% else %} {% if site_logo %} {% if secondary_logo.url|render and secondary_logo_mobile.url|render %} Mobile Logo Desktop Logo {% else %} Mobile Logo Desktop Logo {% endif %} {% endif %} {% endif %} {{ site_slogan }}
{# This div closes at region--header.html.twig #}
{# This div closes at block--system-menu-block--header-menu-about-us.html.twig #}