Advertisement
Guest User

Untitled

a guest
Dec 16th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.63 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="{{ htmllang() }}">
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.         {# make sure we always display a proper title: The record's title if there is one, appended with the
  7.            sitename. If there is no title, we append the sitename with the payoff, if there is one. #}
  8.         <title>
  9.             {%- if record.title is defined %}{{ record.title|striptags }} | {% endif -%}
  10.                 {{ config.get('general/sitename') -}}
  11.             {% if record.title is not defined and config.get('general/payoff') %} | {{ config.get('general/payoff') }}{% endif -%}
  12.         </title>
  13.         <link href="https://fonts.googleapis.com/css?family=Bitter|Roboto:400,400i,700" rel="stylesheet">
  14.         <link rel="stylesheet" href="{{ asset('css/bulma.css', 'theme') }}">
  15.         <link rel="stylesheet" href="{{ asset('css/theme.css', 'theme') }}">
  16.     </head>
  17.     <body{% if app.request.get('_route') == "homepage" %} class="front"{% endif %}>
  18.         <a href="#main-content" class="visually-hidden focusable skip-link">Skip to main content</a>
  19.  
  20.         {% block body %}
  21.  
  22.             <header role="banner" class="header">
  23.             {{ include('partials/_navbar.twig') }}
  24.             {{ include('partials/_header.twig') }}
  25.             </header>
  26.  
  27.             {{ widgets('main_top') }}
  28.  
  29.             <a id="main-content"></a>
  30.             {% block main %}
  31.             {% endblock main %}
  32.  
  33.             {{ widgets('main_bottom') }}
  34.  
  35.         {% endblock body %}
  36.  
  37.         {{ include('partials/_footer.twig') }}
  38.  
  39.     </body>
  40. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement