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.
82 lines
3.6 KiB
82 lines
3.6 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('theme://js/all.min.js', 99) %} |
|
{% endblock %} |
|
{{ assets.js() }} |
|
|
|
<noscript id="deferred-styles"> |
|
{% block stylesheets %} |
|
{% do assets.addCss('theme://css/bootstrap_16px.min.css', 100) %} |
|
{% do assets.addCss('theme://css/all-lazy.min.css', 101) %} |
|
{% 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>
|
|
|