ungleich-staticcms/templates/layout.html

28 lines
777 B
HTML
Raw Normal View History

<!doctype html>
<meta charset="utf-8">
2019-09-24 12:14:29 +00:00
<link rel="stylesheet" href="{{ '/u/static/style.css'|url }}">
2019-09-24 14:35:06 +00:00
<title>{% block title %}Welcome to {% endblock %} ungleich.ch</title>
<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
%}><a href="{{ '/'|url }}">Welcome</a></li>
{% for href, title in [
2019-09-24 12:06:11 +00:00
['/u/blog', '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>
&copy; Copyright 2019 by ungleich.
</footer>
</body>