ctdo.de/templates/default.twig

54 lines
1.7 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-10-04 11:00:10 +00:00
2023-04-13 16:44:38 +00:00
</head>
<body>
2023-10-04 11:00:10 +00:00
<!-- <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>
2023-10-04 11:00:10 +00:00
<a href="#" onclick="ToggleNav()" id="navToggle">=</a>
<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>
2023-10-04 11:00:10 +00:00
<li> <a href="https://git.ctdo.de/xoy/ctdo.de/_edit/main/{{ file_to_edit }}" target="_blank">seite bearbeiten</a> </li>
</ul>
</nav>
</footer>
2023-10-04 11:00:10 +00:00
<script src="js/nav.js"></script>
</body>
</html>