theme, plugins und config für die Webseite der Baptisten Hohenacker https://baptisten-hohenacker.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
4.4 KiB

<!DOCTYPE html>
<html lang="{{ grav.language.getLanguage ?: 'en' }}">
<head>
{% block head %}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{% include 'partials/metadata.html.twig' %}
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png', true) }}" />
{# <link href="{{url('theme://css/bootstrap-critical-trim.css')}}" type="text/css" rel="stylesheet" />#}
{# <link href="{{url('theme://css/css-only-navigation.css')}}" type="text/css" rel="stylesheet" />#}
{# <link href="{{url('theme://css/css-only-lightbox.css')}}" type="text/css" rel="stylesheet" />#}
<style>
@media (min-width: 768px){.navbar-header{float:left;}}
{{ source('css/css-only-navigation-inline.min.css')}}
{{ source('css/css-only-lightbox-inline.min.css')}}
{{ source('css/bootstrap-critical-trim.min.css')}}
</style>
{# doesnt work
{% if header.title == 'Startseite' %}
<link rel="prefetch" href="/termine" />
{% endif %}#}
{% endblock head%}
</head>
<body class="{% block body_classes %}{{ page.header.body_classes }}{% endblock %}">
{% if config.plugins.langswitcher.enabled %}
{% include 'partials/langswitcher.html.twig' %}
{% endif %}
{% block header_navigation %}
{% include 'partials/css-only-navigation.html.twig' %}
{% endblock %}
{# commented out
{% block breadcrumbs %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endblock %}
#}
{% block content %}{% endblock %}
{% block pagination %}{% endblock %}
<div class="footer" id="footer">
<div class="container">
<ul class="first"><li><a href='impressum'>Impressum</a></li><li><a class='active' href='kontakt'>Kontakt</a></li></ul> © 2017 - Evangelisch Freikirchliche Gemeinde Hohenacker – Gässle 29 – 71336 Waiblingen-Hohenacker
</div>
</div>
{% block bottom %}{% endblock %}
{% block javascripts %}
{# do assets.add('jquery', 101) #}
{# do assets.add('theme://js/modernizr.custom.71422.js', 100) #}
{% do assets.add('theme://js/custom.js', 99) %}
{% do assets.add('theme://js/navbar-keyboard-interaction.js', 99) %}
{# do assets.add('theme://js/bootstrap.min.js', 100) #}
{% if browser.getBrowser == 'msie' and browser.getVersion >= 8 and browser.getVersion <= 9 %}
{% do assets.add('https://oss.maxcdn.com/respond/1.4.2/respond.min.js') %}
{% do assets.add('theme://js/html5shiv-printshiv.min.js') %}
{% endif %}
{% endblock %}
{{ assets.js() }}
<noscript id="deferred-styles">
{% block stylesheets %}
{% do assets.addCss('theme://css/bootstrap_16px.min.css', 100) %}
{% do assets.addCss('theme://css/bapho.css', 99) %}
{% do assets.addCss('theme://css/css-only-lightbox-lazy.min.css', 99) %}
{% do assets.addCss('theme://css/css-only-navigation-lazy.min.css', 101) %}
{# do assets.add('theme://css/font-awesome.min.css',99) #}
{% endblock %}
{{ assets.css() }}
</noscript>
<script>
var loadDeferredStyles = function() {
var addStylesNode = document.getElementById("deferred-styles");
var replacement = document.createElement("div");
replacement.innerHTML = addStylesNode.textContent;
document.body.appendChild(replacement)
addStylesNode.parentElement.removeChild(addStylesNode);
};
var raf = window.requestAnimationFrame || window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
if (raf) raf(function() { window.setTimeout(loadDeferredStyles, 0); });
else window.addEventListener('load', loadDeferredStyles);
</script>
</body>
</html>