webseite/templates/layout.html

107 lines
4.2 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML>
<!--
Solid State by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>{% block title %}Startseite{% endblock %}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="{{ '/js/ie/html5shiv.js'|url }}"></script><![endif]-->
<link rel="stylesheet" href="{{ '/css/main.css'|url }}" />
<!--[if lte IE 9]><link rel="stylesheet" href="{{ '/css/ie9.css'|url }}" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="{{ '/css/ie8.css'|url }}" /><![endif]-->
<link rel="icon" href="{{ '/images/favicon.png'|url }}" type="image/png">
<style>
.active a{
color: red;
}
</style>
</head>
<body>
<!-- Page Wrapper -->
<div id="page-wrapper">
<!-- Header -->
<header id="header" class="alt">
<h1><a href="index.html">c3WOC</a></h1>
<nav>
<a href="#menu">Menu</a>
</nav>
</header>
<!-- Menu -->
<nav id="menu">
<div class="inner">
<h2>Menu</h2>
<ul class="links">
<li{% if this._path == '/' %} class="active"{% endif
%}><a href="{{ '/'|url }}">Home</a></li>{%
for href, title in [
['/blog', 'Neuigkeiten'],
['/equipment', 'Equipment'],
['/rezepte', 'Rezepte'],
['/impressum', 'Impressum'],
['/datenschutz', 'Datenschutz']
] %}
<li{% if this.is_child_of(href) %} class="active"{% endif
%}><a href="{{ href|url }}">{{ title }}</a></li>{%
endfor %}
</ul>
<a href="#" class="close">Close</a>
</div>
</nav>
<!-- Banner -->
<section id="banner">
<div class="inner">
<div class="logo"><a href="{{ '/'|url }}"><span class="icon fa-heart"></span></a></div>
<h2>C3WOC</h2>
<p>C3 Waffel Operation Center <span class="icon fa-heart"></span> Wir machen Waffeln</p>
</div>
</section>
<!-- Wrapper -->
<section id="wrapper">
<!-- Main -->
{% block body %}{% endblock %}
</section>
<!-- Footer -->
<section id="footer">
<div class="inner">
<h2 class="major">Wir <span class="icon fa-heart"></span> Waffeln, du auch?</h2>
<p>Das c3WOC besteht aus Chaoten überall im Chaos. Nimm doch mal mit uns Kontakt auf und lass uns zusammen Waffeln machen!</p>
<form>
<img src="{{ '/images/logo/c3woc.svg'|url }}" style="width: 100%;"/>
</form>
<ul class="contact">
{% for icon, link, name in [
['fa-envelope', 'mailto:waffel@c3woc.de', 'waffel@c3woc.de'],
['fa-hashtag', 'ircs://irc.hackint.org/#waffel', 'irc.hackint.org/#waffel'],
['fa-hashtag', 'https://webirc.hackint.org/#irc://irc.hackint.org/#waffel', 'webirc.hackint.org'],
['fa-twitter', 'https://twitter.com/@c3WOC', '@c3WOC'],
['fa-comments', 'https://chaos.social/@c3WOC', 'c3WOC@chaos.social'],
] %}
<li class="{{ icon }}"><a href="{{ link }}">{{ name }}</a></li>{%
endfor %}
</ul>
<ul class="copyright">
<li>&copy; by L3D.</li><li><a href="{{ '/datenschutz/'|url }}">Datenschutz</a></li><li><a href="{{ '/impressum/'|url }}">Impressum</a></li><li>Design inspired by: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</div>
</section>
</div>
<!-- Scripts -->
<script src="{{ '/js/skel.min.js'|url }}"></script>
<script src="{{ '/js/jquery.min.js'|url }}"></script>
<script src="{{ '/js/jquery.scrollex.min.js'|url }}"></script>
<script src="{{ '/js/util.js'|url }}"></script>
<!--[if lte IE 8]><script src="{{ '/js/ie/respond.min.js'|url }}"></script><![endif]-->
<script src="{{ '/js/main.js'|url }}"></script>
</body>
</html>