ctdo.de/templates/default.twig

50 lines
1.6 KiB
Twig
Raw Normal View History

2023-04-13 16:44:38 +00:00
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - {{ title }}</title>
{% for item in css %}
<link rel="stylesheet" href="/css/{{ item }}.css">
{% endfor %}
2023-04-13 16:44:38 +00:00
</head>
<body>
<div class="newBanner"><a href="https://www.chaostreff-dortmund.de/rundgang/" target="_blank">Rundgang</a></div>
2023-04-13 16:44:38 +00:00
<header>
<nav>
<ul>
{% for item in nav %}
<li>
{% if item.active %}
<a href="?page={{ item.page }}" class="active">{{ item.name }}</a>
{% else %}
<a href="?page={{ item.page }}">{{ item.name }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
</nav>
2023-04-13 16:44:38 +00:00
</header>
<main>
<p class="text-left">Raumstatus: {{ raumstatus | raw }}</p>
{{ main | raw }}
</main>
<footer>
<nav>
<ul>
<li> <a href="/?page=impressum">impressum</a> </li>
<li> <a href="/?page=datenschutz">datenschutz</a> </li>
<li> <a href="https://git.ctdo.de/xoy/ctdo.de/_edit/main/{{ file_to_edit }}" target="_blank">Seite bearbeiten</a> </li>
</ul>
</nav>
</footer>
</body>
</html>