webseite/templates/layout.html
L3D ddc6a404fb Start translation
Former-commit-id: 87431b49175ed097312ac29954d7b04c1f465577 [formerly 8e851d3cc303728620f598d9e5c2c30c2163aff7] [formerly e301c764b82e17d758c8ecba229fa050c32646e3 [formerly 5b0c379691c5160c8f3a6c2ec53dcc898cfe6002]]
Former-commit-id: d6100de9ef508555b5bbb8762722a8455348bdd9 [formerly 0ac718e627ff57598e6c3c39fb812848f9cb4d9f]
Former-commit-id: 0da45284c5712a82ec351b71a6cd2a6d12d6314d
2018-10-13 00:02:29 +02:00

144 lines
6.8 KiB
HTML

<!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 %}Start{% 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">
{% block expand_header %}{% endblock %}
<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>{% if this.alt == 'en' %}
<a href="/..{{ this._path }}">Deutsch Version aufrufen</a>{%
else %}<a href="/en/{{ this._path }}">View English version</a>{% endif %}
<a href="#menu">Menu</a>
</nav>
</header>
<!-- Menu -->
<nav id="menu">
<div class="inner">
<h2>Menu</h2>
<ul class="links">
{% if this.alt == 'en' %}
<li{% if this._path == '/' %} class="active"{% endif
%}><a href="{{ '/'|url }}">home</a></li>{%
for href, title in [
['/blog', 'news'],
['/equipment', 'equipment'],
['/rezept', 'waffledough'],
['/hygiene', 'sanitariness'],
['/mitmachen', 'Mitmachen'],
['/impressum', 'imprint'],
['/datenschutz', 'data protection']
] %}
<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>
{% else %}
<li{% if this._path == '/' %} class="active"{% endif
%}><a href="{{ '/'|url }}">Start</a></li>{%
for href, title in [
['/blog', 'Neuigkeiten'],
['/equipment', 'Equipment'],
['/rezept', 'Waffelteig'],
['/hygiene', 'Hygiene'],
['/mitmachen', 'Mitmachen'],
['/impressum', 'Impressum'],
['/datenschutz', 'Datenschmutz']
] %}
<li{% if this.is_child_of(href) %} class="active"{% endif
%}><a href="{{ href|url }}">{{ title }}</a></li>{%
endfor %}
</ul>
<a href="#" class="close">Schließen</a>
{% endif %}
</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> {% if this.alt == 'en'
%} We make waffles{% else %}Wir machen Waffeln{% endif %}</p>
</div>
</section>
<!-- Wrapper -->
<section id="wrapper">
<!-- Main -->
{% block body %}{% endblock %}
</section>
<!-- Footer -->
<section id="footer">
<div class="inner">
<h2 class="major">{% if this.alt == 'en' %}We{% else %}Wir{% endif %} <span class="icon fa-heart"></span> {% if this.alt == 'en' %}Waffles, you too?{% else %}Waffeln, du auch?{% endif %}</h2>
{% if this.alt == 'en' %}<p>The c3woc consists of hackers from the environment of the chaos computer club. Please contact us and let us do some waffles together!</p>{%
else %}<p>Das C3WOC besteht aus Hackern aus dem Chaosumfeld. Nimm doch mal mit uns Kontakt auf und lass uns zusammen Waffeln machen!</p>{% endif %}
<form>
<img src="{{ '/images/logo/c3woc.svg'|url }}" style="width: 100%;"/>
</form>
<ul class="contact">
{% if this.alt == 'en' %}
{% for icon, link, name in [
['fa-envelope', 'mailto:waffle@c3woc.de', 'waffle@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'],
['fa-user-plus', 'https://c3woc.de/mitmachen', 'Join us!']
] %}
<li class="{{ icon }}"><a href="{{ link }}">{{ name }}</a></li>{%
endfor %}{% else %}
{% 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'],
['fa-user-plus', 'https://c3woc.de/mitmachen', 'Mach bei uns mit']
] %}
<li class="{{ icon }}"><a href="{{ link }}">{{ name }}</a></li>{%
endfor %}{% endif %}
</ul>
<ul class="copyright">
<li>&copy; by L3D.</li><li><a href="{{ '/datenschutz/'|url }}">{% if this.alt == 'en' %}advanced cyber data protection{% else %}Datenschutz{% endif %}</a></li><li><a href="{{ '/impressum/'|url }}">{% if this.alt == 'en' %}imprint{% else %}Impressum{% endif %}</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>