4 * Bartik's theme implementation to display a single page.
6 * The doctype, html, head and body tags are not in this template. Instead they
7 * can be found in the html.html.twig template normally located in the
8 * core/modules/system directory.
10 * Available variables:
12 * General utility variables:
13 * - base_path: The base URL path of the Drupal installation. Will usually be
14 * "/" unless you have installed Drupal in a sub-directory.
15 * - is_front: A flag indicating if the current page is the front page.
16 * - logged_in: A flag indicating if the user is registered and signed in.
17 * - is_admin: A flag indicating if the user has permission to access
18 * administration pages.
21 * - front_page: The URL of the front page. Use this instead of base_path when
22 * linking to the front page. This includes the language domain or prefix.
24 * Page content (in order of occurrence in the default page.html.twig):
25 * - node: Fully loaded node, if there is an automatically-loaded node
26 * associated with the page and the node ID is the second argument in the
27 * page's path (e.g. node/12345 and node/12345/revisions, but not
28 * comment/reply/12345).
31 * - page.header: Items for the header region.
32 * - page.highlighted: Items for the highlighted region.
33 * - page.primary_menu: Items for the primary menu region.
34 * - page.secondary_menu: Items for the secondary menu region.
35 * - page.featured_top: Items for the featured top region.
36 * - page.content: The main content of the current page.
37 * - page.sidebar_first: Items for the first sidebar.
38 * - page.sidebar_second: Items for the second sidebar.
39 * - page.featured_bottom_first: Items for the first featured bottom region.
40 * - page.featured_bottom_second: Items for the second featured bottom region.
41 * - page.featured_bottom_third: Items for the third featured bottom region.
42 * - page.footer_first: Items for the first footer column.
43 * - page.footer_second: Items for the second footer column.
44 * - page.footer_third: Items for the third footer column.
45 * - page.footer_fourth: Items for the fourth footer column.
46 * - page.footer_fifth: Items for the fifth footer column.
47 * - page.breadcrumb: Items for the breadcrumb region.
49 * @see template_preprocess_page()
53 <div id="page-wrapper">
55 <header id="header" class="header" role="banner" aria-label="{{ 'Site header'|t }}">
56 <div class="section layout-container clearfix">
57 {{ page.secondary_menu }}
59 {{ page.primary_menu }}
62 {% if page.highlighted %}
63 <div class="highlighted">
64 <aside class="layout-container section clearfix" role="complementary">
65 {{ page.highlighted }}
69 {% if page.featured_top %}
70 <div class="featured-top">
71 <aside class="featured-top__inner section layout-container clearfix" role="complementary">
72 {{ page.featured_top }}
76 <div id="main-wrapper" class="layout-main-wrapper layout-container clearfix">
77 <div id="main" class="layout-main clearfix">
79 <main id="content" class="column main-content" role="main">
80 <section class="section">
81 <a id="main-content" tabindex="-1"></a>
85 {% if page.sidebar_first %}
86 <div id="sidebar-first" class="column sidebar">
87 <aside class="section" role="complementary">
88 {{ page.sidebar_first }}
92 {% if page.sidebar_second %}
93 <div id="sidebar-second" class="column sidebar">
94 <aside class="section" role="complementary">
95 {{ page.sidebar_second }}
101 {% if page.featured_bottom_first or page.featured_bottom_second or page.featured_bottom_third %}
102 <div class="featured-bottom">
103 <aside class="layout-container clearfix" role="complementary">
104 {{ page.featured_bottom_first }}
105 {{ page.featured_bottom_second }}
106 {{ page.featured_bottom_third }}
110 <footer class="site-footer">
111 <div class="layout-container">
112 {% if page.footer_first or page.footer_second or page.footer_third or page.footer_fourth %}
113 <div class="site-footer__top clearfix">
114 {{ page.footer_first }}
115 {{ page.footer_second }}
116 {{ page.footer_third }}
117 {{ page.footer_fourth }}
120 {% if page.footer_fifth %}
121 <div class="site-footer__bottom">
122 {{ page.footer_fifth }}