{# /** * @file * Zurb Foundations's theme implementation to display a single page. * * Available variables: * * General utility variables: * - base_path: The base URL path of the Drupal installation. Will usually be * "/" unless you have installed Drupal in a sub-directory. * - is_front: A flag indicating if the current page is the front page. * - logged_in: A flag indicating if the user is registered and signed in. * - is_admin: A flag indicating if the user has permission to access * administration pages. * * Site identity: * - front_page: The URL of the front page. Use this instead of base_path when * linking to the front page. This includes the language domain or prefix. * - logo: The url of the logo image, as defined in theme settings. * - linked_logo: The logo image, linked to . * - site_name: The name of the site. This is empty when displaying the site * name has been disabled in the theme settings. * - linked_site_name: The name of the site that also links to . * - site_slogan: The slogan of the site. This is empty when displaying the site * slogan has been disabled in theme settings. * - hide_site_name: A flag indicating if the site name has been toggled off on * the theme settings page. If hidden, the "visually-hidden" class is added * to make the site name visually hidden, but still accessible. * - hide_site_slogan: A flag indicating if the site slogan has been toggled off * on the theme settings page. If hidden, the "visually-hidden" class is * added to make the site slogan visually hidden, but still accessible. * * Page content (in order of occurrence in the default page.html.twig): * - title_prefix: Additional output populated by modules, intended to be * displayed in front of the main title tag that appears in the template. * - title: The page title, for use in the actual content. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. * - tabs: Tabs linking to any sub-pages beneath the current page (e.g., the * view and edit tabs when displaying a node). * - action_links: Actions local to the page, such as "Add menu" on the menu * administration interface. * - node: Fully loaded node, if there is an automatically-loaded node * associated with the page and the node ID is the second argument in the * page's path (e.g. node/12345 and node/12345/revisions, but not * comment/reply/12345). * * Regions: * - page.meta_header * - page.header * - page.help * - page.highlighted * - page.content * - page.sidebar_first * - page.sidebar_second * - page.footer_first * - page.footer_middle * - page.footer_last * * @see template_preprocess_page() * @see bartik_preprocess_page() * @see html.html.twig */ #}
{% if page.meta_header %} {% if meta_header_grid %}
{% endif %} {{ page.meta_header }} {% if meta_header_grid %}
{% endif %} {% endif %}
{% if linked_site_name or linked_logo %}
{% if linked_logo %} {{ linked_logo }} {% endif %}
{% if is_front %}

{{ linked_site_name }}

{% else %}
{{ linked_site_name }}
{% endif %}
{% endif %}
{% if page.header %}
{{ page.header }}
{% endif %}
{% if show_account_info %}

{% if logged_in %} {{ 'My Account'|t }} {{ 'Logout'|t }} {% else %} {{ 'Login'|t }} {{ 'Sign Up'|t }} {% endif %}

{% endif %} {% if site_slogan %}
{{ site_slogan }}
{% endif %} {% if show_account_info %}
{% if logged_in %} {% else %} {% endif %}
{% endif %}
{% if messages and not zurb_foundation_messages_modal %}
{{ messages }}
{% endif %} {% if page.help %}
{{ page.help }}
{% endif %}
{% if page.highlighted %} {% spaceless %} {{ page.highlighted }} {% endspaceless %} {% endif %} {% if breadcrumb %} {{ breadcrumb }} {% endif %} {% if title and not is_front %} {{ title_prefix }}

{{ title }}

{{ title_suffix }} {% endif %} {% if tabs %} {{ tabs }} {% if tabs2 %} {{ tabs2 }} {% endif %} {% endif %} {% if action_links %} {% endif %} {{ page.content }}
{% if page.sidebar_first %} {% endif %} {% if page.sidebar_second %} {% endif %}
{% if page.footer_first or page.footer_middle or page.footer_last %}
{% if page.footer_first %} {% endif %} {% if page.footer_middle %} {% endif %} {% if page.footer_last %} {% endif %}
{% endif %}
© {{ "now"|date('Y') }} {{ site_name }} {{ 'All rights reserved.'|t }}