brainhack.psychoinformatics.de/theme/templates/page.html
Alex Waite d1af4ceb13 Fix broken links when publishing
Credit goes to Benjamin

Fixes #10
2018-03-05 10:51:55 +01:00

15 lines
375 B
HTML

{% extends "base.html" %}
{% block title %} – {{ page.title }}{% endblock %}
{% block content %}
<nav class='card'>
<ul>
{% for title, link in MENUITEMS %}
<li><a href="{{ SITEURL }}/{{ link }}" {% if page and page.url == link %} class='active' {% endif %}>{{ title }}</a></li>
{% endfor %}
</ul>
</nav>
{{ page.content }}
{% endblock %}