86 lines
3.8 KiB
Twig
86 lines
3.8 KiB
Twig
{% set theme_config = attribute(config.themes, config.system.pages.theme) %}
|
|
<!DOCTYPE html>
|
|
<html lang="{{ grav.language.getActive ?: grav.config.site.default_lang }}">
|
|
<head>
|
|
{% block head %}
|
|
<meta charset="utf-8" />
|
|
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
{% include 'partials/metadata.html.twig' %}
|
|
|
|
<link rel="icon" type="image/png" href="{{ url('theme://images/logo.png') }}" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ url('theme://images/icons/apple-touch-icon.png') }}">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ url('theme://images/icons/favicon-32x32.png') }}">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ url('theme://images/icons/favicon-16x16.png') }}">
|
|
<link rel="manifest" href="{{ url('theme://images/icons/site.webmanifest') }}">
|
|
<link rel="mask-icon" href="{{ url('theme://images/icons/safari-pinned-tab.svg" color="#00a300') }}">
|
|
<link rel="shortcut icon" href="{{ url('theme://images/icons/favicon.ico') }}">
|
|
<meta name="msapplication-TileColor" content="#00a300">
|
|
<meta name="msapplication-config" content="{{ url('theme://images/icons/browserconfig.xml') }}">
|
|
<meta name="theme-color" content="#ffffff">
|
|
<link rel="canonical" href="{{ page.url(true, true) }}" />
|
|
{% endblock head %}
|
|
|
|
{% block stylesheets %}
|
|
{# do assets.addCss('https://unpkg.com/purecss@1.0.0/build/pure-min.css', 100) #}
|
|
{% do assets.addCss('https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css', 100) %}
|
|
{% do assets.addCss('theme://fontawesome/css/all.min.css', 99) %}
|
|
{% do assets.addCss('theme://css/custom.css', 96) %}
|
|
{% do assets.addCss('theme://css/sidebar.css', 96) %}
|
|
{% endblock %}
|
|
|
|
{% block javascripts %}
|
|
{% do assets.addJs('jquery', 100) %}
|
|
{% do assets.addJs('https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js', 99) %}
|
|
{% do assets.addJs('theme://js/core-functions.js', 98) %}
|
|
{% endblock %}
|
|
|
|
{% block assets_css %}
|
|
{{ assets.css()|raw }}
|
|
{% endblock %}
|
|
</head>
|
|
<body>
|
|
<div id="wrapper" class="d-flex flex-column">
|
|
{% include 'partials/navbar.html.twig' %}
|
|
<div class="content-wrapper flex-fill">
|
|
<main class="container-fluid py-5 clearfix">
|
|
<div class="container">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
</main>
|
|
</div>
|
|
<footer class="container-fluid w-100 bg-dark text-light py-3 content-wrapper">
|
|
{% block footer %}
|
|
<footer class="container-fluid bg-dark text-light py-3">
|
|
<div class="row">
|
|
<p class="mx-auto">
|
|
<a href="/impressum">Impressum</a>
|
|
<span> | </span>
|
|
<a href="/datenschutzerklaerung">Datenschutzerklärung</a>
|
|
<span> | </span>
|
|
<a href="/kontakt">Kontakt</a>
|
|
</p>
|
|
</div>
|
|
<div class="row">
|
|
<p class="mx-auto">© Heike Tischler</p>
|
|
</div>
|
|
<div class="row">
|
|
<p class="mx-auto">Diese Webseite nutzt <a target="_blank" href="http://getgrav.org">Grav</a> von <a target="_blank" href="http://www.rockettheme.com">RocketTheme</a>.</p>
|
|
</div>
|
|
</footer>
|
|
{% endblock %}
|
|
</footer>
|
|
</div>
|
|
|
|
{% block bottom %}
|
|
{{ assets.js('bottom')|raw }}
|
|
{% endblock %}
|
|
</body>
|
|
|
|
{% block assets_js deferred %}
|
|
{{ assets.js()|raw }}
|
|
{% endblock %}
|
|
|
|
</html>
|