base.twig 1.56 KB
Newer Older
Wolfgang Knopki's avatar
Wolfgang Knopki committed
1
2
3
4
5
6
7
{% spaceless %}
<!DOCTYPE html>
<html lang="{{ currentLanguage }}" xml:lang="{{ currentLanguage }}">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="initial-scale=1.0">
    <title>{{ pagetitle }}</title>
Wolfgang Knopki's avatar
Wolfgang Knopki committed
8
    <link rel="stylesheet" href="{{ asset("/mymodule/stylesheet.css") }}">
Wolfgang Knopki's avatar
Wolfgang Knopki committed
9
10
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/m4lab.css">
Wolfgang Knopki's avatar
Wolfgang Knopki committed
11
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
Wolfgang Knopki's avatar
Wolfgang Knopki committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
    <link rel="icon" href="{{ asset("icons/favicon.ico") }}">
    {% if isRTL %}
    <link rel="stylesheet" href="{{ asset("assets/css/src/default-rtl.css") }}">
    {% endif %}
    <meta name="robots" content="noindex, nofollow">
    <link rel="preload" href="{{ asset('js/bundle.js') }}" as="script">
    {% block preload %}{% endblock %}
  </head>
  <body id="{{ templateId }}">
    <div id="layout">
    {% block header %}{% include "_header.twig" %}{% endblock %}
      <div id="content">
        <div class="wrap">
          {% block contentwrapper %}{% block content %}{% endblock %}{% endblock contentwrapper %}
        </div>
      </div>{# content #}
      <div id="push"></div>
    </div>{# layout #}
    <div id="foot">
      {% block footer %}{% include "_footer.twig" %}{% endblock %}
    </div>
    <script src="{{ asset('js/bundle.js') }}"></script>
    {% block postload %}{% endblock %}
  </body>
</html>
{% endspaceless %}