PodcastLektor/Podcast/templates/layout.html

35 lines
919 B
HTML
Raw Permalink Normal View History

2022-02-10 19:37:52 +01:00
<!doctype html>
<meta charset="utf-8">
<link rel="stylesheet" href="{{ '/static/style.css'|url }}">
<title>{% block title %}Welcome{% endblock %} — PodcastLektor</title>
<body>
<header>
2022-02-10 22:37:51 +01:00
<h1>Podcast</h1>
2022-02-10 19:37:52 +01:00
<nav>
<ul class="nav navbar-nav">
<li{% if this._path == '/' %} class="active"{% endif
%}><a href="{{ '/'|url }}">Welcome</a></li>
{% for href, title in [
['/blog', 'Blog'],
['/projects', 'Projects'],
['/about', 'About']
] %}
<li{% if this.is_child_of(href) %} class="active"{% endif
%}><a href="{{ href|url }}">{{ title }}</a></li>
{% endfor %}
</ul>
2022-02-10 22:37:51 +01:00
</nav>
2022-02-10 19:37:52 +01:00
</header>
2022-02-10 22:37:51 +01:00
<div id="flex">
<main>
2022-02-10 19:37:52 +01:00
{% block body %}{% endblock %}
2022-02-10 22:37:51 +01:00
</main>
<aside>
{% block aside %}<h1>Widgets</h1>{% endblock %}
</aside>
2022-02-10 19:37:52 +01:00
</div>
<footer>
&copy; Copyright 2022 by Homer S..
</footer>
</body>