GravTheme/templates/partials/base.html.twig

113 lines
5.8 KiB
Twig

<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="{{ html_lang }}" dir="ltr">
<head>
{% block head %}
<title>{% if header.title %}{{ header.title|e }} | {% endif %}{{ site.title|e }}</title>
<meta charset="utf-8" />
<!--[if IE]><meta http-equiv="ImageToolbar" content="False" /><![endif]-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta property="og:locale" content="{{ html_lang }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ page.url(true)|e }}" />
<meta property="og:title" content="{{ site.title }}" />
<meta property="og:site_name" content="{{ site.title }}" />
<meta name="viewport" content="width=device-width, initial-scale=1">
{% include 'partials/metadata.html.twig' %}
<link rel="icon" type="image/png" href="{{ url('favicon.png')|e }}" />
<link rel="canonical" href="{{ page.canonical(true)|e }}" />
{% endblock head %}
{% block stylesheets %}
{% do assets.addCss('theme://css/reset.css', 90) %}
{% do assets.addCss('theme://fonts/opensans.css', 80) %}
{% do assets.addCss('theme://fonts/unicaone.css', 80) %}
{% do assets.addCss('theme://fonts/marcellussc.css', 80) %}
{% do assets.addCss('theme://css/print.css', {'priority': 70, 'group': 'print'}) %}
{% do assets.addCss('theme://css/style.css', 60) %}
{% do assets.addCss('theme://css/template.css', 55) %}
{% do assets.addCss('theme://css/common.css', 50) %}
{% do assets.addCss('theme://pluginAppObj/imFooter_pluginAppObj_03/custom.css', 40) %}
{% do assets.addCss('theme://pluginAppObj/imFooter_pluginAppObj_05/custom.css', 40) %}
{% do assets.addCss('theme://css/navbar.css', 50) %}
{% do assets.addCss('theme://css/animated-image.css', 50) %}
{% endblock %}
{% block custom_stylesheets %}{% endblock %}
{% block javascripts %}
{% do assets.addJs('theme://js/jquery.js', 100) %}
{% do assets.addJs('theme://js/x5engine.js', 100) %}
{% do assets.addJs('theme://pluginAppObj/imFooter_pluginAppObj_03/main.js', 100) %}
{% do assets.addJs('theme://pluginAppObj/imFooter_pluginAppObj_05/main.js', 100) %}
{% endblock %}
{% block custom_scripts %}{% endblock %}
{% block assets deferred %}
{{ assets.css()|raw }}
{{ assets.css('print', {'media': 'print'})|raw }}
{{ assets.js()|raw }}
{% endblock %}
<script>
window.onload = function(){ checkBrowserCompatibility('Der von Ihnen verwendete Browser unterstützt nicht die die Funktionen, die für die Anzeige dieser Website benötigt werden.','Der von Ihnen verwendete Browser unterstützt möglicherweise nicht die die Funktionen, die für die Anzeige dieser Website benötigt werden.','[1]Browser aktualisieren[/1] oder [2]Vorgang fortsetzen[/2].','http://outdatedbrowser.com/'); };
x5engine.utils.currentPagePath = 'index.html';
x5engine.boot.push(function () { x5engine.utils.imCodeProtection('4Creative'); });
x5engine.boot.push(function () { x5engine.parallax.start(); });
x5engine.boot.push(function () { x5engine.imPageToTop.initializeButton({}); });
</script>
</head>
<body>
<div id="imPageExtContainer">
<div id="imPageIntContainer">
<div id="imHeaderBg"></div>
<div id="imFooterBg"></div>
<div id="imPage">
{% block header %}
{% include 'partials/header.html.twig' %}
{% endblock %}
{% block body %}
<div id="imContentGraphics"></div>
<main id="imContent">
<a id="imGoToCont"></a>
{% block content %}{% endblock %}
</main>
{% endblock %}
{% block footer %}
<footer id="imFooter">
<div id="imFooterObjects">
<div class="template-object-wrapper animated-image">
<img loading="lazy" alt="4Creative Discord Button" style="position: relative; left: 0px; top: 0px; user-select: none" unselectable="on" src="{{ media['image://4Creative-Discord-Button.png'].url|e }}">
<a href="https://discord.com/invite/ZfPtWAr" data-description="Link zu unserem Discord Kanal (Einladung)">Unser Discord Kanal</a>
</div>
<div id="imFooter_imTextObject_02_wrapper" class="template-object-wrapper">
<div id="imFooter_imTextObject_02">
<div data-index="0" class="text-tab-content grid-prop current-tab" id="imFooter_imTextObject_02_tab0" style="opacity: 1">
<div class="text-inner">
<div data-line-height="1.15" class="lh1-15 imTARight"><span class="fs14lh1-15 cf1">(c) 2020-{{ "now"|date('Y') }} &nbsp;</span><span class="fs14lh1-15 cf1">by </span><span class="fs14lh1-15 cf1"><b>4Creative</b></span></div>
</div>
</div>
</div>
</div>
<div id="imFooter_imObjectImage_04_wrapper" class="template-object-wrapper">
<div id="imFooter_imObjectImage_04">
<img loading="lazy" alt="4Creative Logo" style="width: 60px; height: 60px; position: relative; left: 0px; top: 0px; user-select: none;" width="60" height="60" unselectable="on" src="{{ media['image://4Creative-logo-small.png'].url|e }}">
</div>
</div>
</div>
</footer>
{% endblock %}
</div>
<span class="imHidden"><a href="#imGoToCont" title="Lesen Sie den Inhalt der Seite noch einmal durch">Zurück zum Seiteninhalt</a></span>
</div>
</div>
<noscript class="imNoScript">
<div class="alert alert-red">Um diese Website nutzen zu können, aktivieren Sie bitte JavaScript.</div>
</noscript>
{% block bottom %}
{{ assets.js('bottom')|raw }}
{% endblock %}
</body>
</html>