ungleich-staticcms/templates/layout.html

46 lines
1.4 KiB
HTML
Raw Normal View History

<!doctype html>
2019-09-24 15:30:33 +00:00
<head>
<!-- Google analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-62285904-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<meta charset="utf-8">
<link rel="stylesheet" href="{{ '/u/static/style.css'|url }}">
<title>{% block title %}Welcome to {% endblock %} | ungleich.ch</title>
</head>
<body>
<header>
2019-09-24 14:35:06 +00:00
<h1>{{ self.title() }}</h1>
<nav>
<ul class="nav navbar-nav">
<li{% if this._path == '/' %} class="active"{% endif
2019-09-24 15:30:33 +00:00
%}><a href="{{ '/'|url }}">ungleich.ch</a></li>
{% for href, title in [
2019-09-24 15:30:33 +00:00
['/u/blog', 'the new ungleich blog'],
] %}
<li{% if this.is_child_of(href) %} class="active"{% endif
%}><a href="{{ href|url }}">{{ title }}</a></li>
{% endfor %}
</ul>
</nav>
</header>
<div class="page">
{% block body %}{% endblock %}
</div>
<footer>
2019-09-24 15:30:33 +00:00
&copy; Copyright 2019 by <a href="https://ungleich.ch">ungleich</a>.
</footer>
</body>