Chris@0
|
1 {#
|
Chris@0
|
2 /**
|
Chris@0
|
3 * @file
|
Chris@0
|
4 * Default theme implementation for the basic structure of a single Drupal page.
|
Chris@0
|
5 *
|
Chris@0
|
6 * Variables:
|
Chris@0
|
7 * - logged_in: A flag indicating if user is logged in.
|
Chris@0
|
8 * - root_path: The root path of the current page (e.g., node, admin, user).
|
Chris@0
|
9 * - node_type: The content type for the current node, if the page is a node.
|
Chris@0
|
10 * - head_title: List of text elements that make up the head_title variable.
|
Chris@0
|
11 * May contain one or more of the following:
|
Chris@0
|
12 * - title: The title of the page.
|
Chris@0
|
13 * - name: The name of the site.
|
Chris@0
|
14 * - slogan: The slogan of the site.
|
Chris@0
|
15 * - page_top: Initial rendered markup. This should be printed before 'page'.
|
Chris@0
|
16 * - page: The rendered page markup.
|
Chris@0
|
17 * - page_bottom: Closing rendered markup. This variable should be printed after
|
Chris@0
|
18 * 'page'.
|
Chris@0
|
19 * - db_offline: A flag indicating if the database is offline.
|
Chris@0
|
20 * - placeholder_token: The token for generating head, css, js and js-bottom
|
Chris@0
|
21 * placeholders.
|
Chris@0
|
22 *
|
Chris@0
|
23 * @see template_preprocess_html()
|
Chris@0
|
24 *
|
Chris@0
|
25 * @ingroup themeable
|
Chris@0
|
26 */
|
Chris@0
|
27 #}
|
Chris@0
|
28 <!DOCTYPE html>
|
Chris@0
|
29 <html{{ html_attributes }}>
|
Chris@0
|
30 <head>
|
Chris@0
|
31 <head-placeholder token="{{ placeholder_token }}">
|
Chris@0
|
32 <title>{{ head_title|safe_join(' | ') }}</title>
|
Chris@0
|
33 <css-placeholder token="{{ placeholder_token }}">
|
Chris@0
|
34 <js-placeholder token="{{ placeholder_token }}">
|
Chris@0
|
35 </head>
|
Chris@0
|
36 <body{{ attributes }}>
|
Chris@0
|
37 {#
|
Chris@0
|
38 Keyboard navigation/accessibility link to main content section in
|
Chris@0
|
39 page.html.twig.
|
Chris@0
|
40 #}
|
Chris@0
|
41 <a href="#main-content" class="visually-hidden focusable">
|
Chris@0
|
42 {{ 'Skip to main content'|t }}
|
Chris@0
|
43 </a>
|
Chris@0
|
44 {{ page_top }}
|
Chris@0
|
45 {{ page }}
|
Chris@0
|
46 {{ page_bottom }}
|
Chris@0
|
47 <js-bottom-placeholder token="{{ placeholder_token }}">
|
Chris@0
|
48 </body>
|
Chris@0
|
49 </html>
|