webseite/templates/layout.html

258 lines
12 KiB
HTML
Raw Normal View History

2021-06-24 23:44:12 +02:00
<!doctype html>
2019-12-02 01:05:55 +01:00
<html
2021-06-24 23:44:12 +02:00
{%- if alt %} lang="{{ alt }}"
{%- endif %}>
2021-08-21 23:17:04 +02:00
<head>
<meta charset="utf-8" />
2021-08-22 03:44:41 +02:00
2021-10-07 02:18:26 +02:00
<link rel="preload" as="image" href="/waffle_apfelmus-medium.webp"/>
<link rel="preload" as="image" href="/sweet_waffle-medium.webp"/>
2021-08-22 03:44:41 +02:00
2021-06-24 23:44:12 +02:00
<!-- __ _____ _
/ \__..-""" ;-.",'/
( / \_ `.' / `.
| | ) `;. ,' / \ \
( '. /___/_j_ / ) | )
'\ / __\``::'/__' |
|\_ ( / .-| |-.| `-,|
.| ( \ ( (W♥| \♥)j '
..-"""-, .|' ', \_\_`_| ``-.
.-` ..::. `, |, ._:7 \__/
,' .:::'':::. \ |:'. \ ______.-'
.' .::' ':: :._______| \ \ `"7 /
/ ./:' ,.-'''>-' ' `.`.._/ (
- :/:' | / ╱▔╲╱▔╲ `. `._/ \
| :::' .' | ▏WAF ▕ `-_./ |
.' ||| .' | ╲ FEL |
| ||| | | ╲ |
| ':|| '. / \ ╲╱ / \__/
| . ||| |.-"' | /-,_______\ \
|/| ||| | _/ / | |\ \
` ) '::. '. / / | | `-., \
\ ||| | | | | | / )
`. ||| | _/| | | | ( |
`::|| | | | | | \ |
`-._| | \ | \ `.___/
\_______) \_______) C3WOC -->
2021-08-21 17:15:34 +02:00
{# remove next line and robots.txt if LIVE not preview #}
2021-10-22 00:12:38 +02:00
<!-- peta name="robots" content="noindex" -->
2021-06-24 23:44:12 +02:00
{#-
2019-02-24 17:52:16 +01:00
2021-06-24 23:44:12 +02:00
Namensschema der CSS-Klassen nach BEM (Block Element Modifier,
http://getbem.com/naming/). Mit der Erweiterung, dass Modifier einzeln
mit Bindestrich angegeben werden. Also:
2019-02-24 17:52:16 +01:00
2021-06-24 23:44:12 +02:00
<li class="navlist__navitem -active">
statt
<li class="navlist__navitem navlist__navitem--active">
2019-02-24 17:52:16 +01:00
2021-06-24 23:44:12 +02:00
Das ist weniger redundant und übersichtlicher. Der passende CSS-Selektor
dazu ist:
2019-12-02 01:05:55 +01:00
2021-06-24 23:44:12 +02:00
.navlist__navitem.-active
2019-12-02 01:05:55 +01:00
2019-12-02 01:36:05 +01:00
#}
2021-06-24 23:44:12 +02:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>{% block title %}C3 Waffel Operation Center{% endblock %} | C3WOC</title>
2021-08-20 13:26:31 +02:00
<meta name="description" content="{% block meta_description %}C3WOC, die führenden Experten für Waffeln in der Chaos Community{% endblock %}">
2021-06-24 23:44:12 +02:00
{#- OG Values
https://ogp.me/ #}
<meta property="og:title" content="{{ self.title() }}">
<meta property="og:description" content="{{ self.meta_description() }}">
<meta property="og:url" content="{{ this | url(external=true) }}">
{% if '/images/waffel.jpg'|asseturl is defined -%}
<meta property="og:image" content="{% block meta_image %}{{ '/images/waffel.jpg'|asseturl }}{% endblock %}">
{%- endif %}
2021-08-20 13:26:31 +02:00
{# JSON-LD SEO Optimisation Stuff... -#}
{%- block json_ld %}
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
"name": "C3WOC",
"url": "https://c3woc.de",
"logo": "https://c3woc.de/images/logo.svg",
"description": "Die führenden Experten für Waffeln in der chaos Community."
}
</script>
{% endblock %}
2019-02-24 17:52:16 +01:00
2021-06-24 23:44:12 +02:00
{% if '/css/reset.css'|asseturl is defined -%}
<link rel="stylesheet" href="{{ '/css/reset.css'|asseturl }}">
{%- endif %}
{% if '/css/fonts.css'|asseturl is defined -%}
<link rel="stylesheet" href="{{ '/css/fonts.css'|asseturl }}">
{%- endif %}
{% if '/css/main.min.css'|asseturl is defined -%}
<link rel="stylesheet" href="{{ '/css/main.min.css'|asseturl }}">
{% endif %}
{% if '/images/icons/manifest.json'|asseturl is defined -%}
<link rel="manifest" href="{{ '/images/icons/manifest.json'|asseturl }}">
{%- endif %}
{% if '/images/icons/apple-touch-icon.png'|asseturl is defined -%}
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/images/icons/apple-touch-icon.png'|asseturl }}">
{%- endif %}
{% if '/images/icons/favicon-32x32.png'|asseturl is defined -%}
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/images/icons/favicon-32x32.png'|asseturl }}">
{%- endif %}
{% if '/images/icons/favicon-16x16.png'|asseturl is defined -%}
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/images/icons/favicon-16x16.png'|asseturl }}">
{%- endif %}
{% if '/images/icons/site.webmanifest'|asseturl is defined -%}
<link rel="manifest" href="{{ '/images/icons/site.webmanifest'|asseturl }}">
{%- endif %}
{% if '/images/icons/safari-pinned-tab.svg'|asseturl is defined -%}
<link rel="mask-icon" href="{{ '/images/icons/safari-pinned-tab.svg'|asseturl }}" color="#ffda1d">
{%- endif %}
{% if '/images/icons/favicon.ico'|asseturl is defined -%}
<link rel="shortcut icon" href="{{ '/images/icons/favicon.ico'|asseturl }}">
{%- endif %}
<meta name="msapplication-TileColor" content="#ffac33">
{% if '/images/icons/browserconfig.xml'|asseturl is defined -%}
<meta name="msapplication-config" content="{{ '/images/icons/browserconfig.xml'|asseturl }}">
{%- endif %}
<meta name="theme-color" content="#631409">
2021-08-20 13:26:31 +02:00
2021-06-24 23:44:12 +02:00
</head>
<body>
{%- block header -%}
{{- '\n ' -}} <header>
{{- '\n ' -}} <!-- Hello HEADER world -->
{{- '\n ' -}} </header>
{%- endblock -%}
{{- ' ' -}}
<main>
<!-- __ __ _
/ _|/ _| |
__ ____ _| |_| |_| | ___
\ \ /\ / / _` | _| _| |/ _ \
\ V V / (_| | | | | | | __/
\_/\_/ \__,_|_| |_| |_|\___| -->
<!-- WAFFLES ARE BEAUTIFUL -->
{%- block body -%}
<!-- Hello World -->
{%- endblock %}
</main>
<footer>
<div class="footer__top_bar_left"></div>
<div class="footer__top_bar_mid"></div>
<div class="footer__top_bar_right"></div>
<div class="footer__wrapper">
<ul class="footer__nav">
<li class="footer__navitem -first">
<p>Waffeln im Internet:<br>
<a rel="me" href="https://chaos.social/@C3WOC" title="Mastodon">
{% if '/images/icons/social/mastodon.svg'|asseturl is defined -%}
2021-10-22 00:12:38 +02:00
<img alt="Mastodon" class="footer__social_logo" src="{{ '/images/icons/social/mastodon.svg'|asseturl }}" width="100" height="50"/>
2021-06-24 23:44:12 +02:00
{%- else -%}
Mastodon
{%- endif %}
</a>
<a href="https://twitter.com/c3woc" title="Twitter">
{% if '/images/icons/social/twitter.svg'|asseturl is defined -%}
2021-10-22 00:12:38 +02:00
<img alt="Twitter" class="footer__social_logo" src="{{ '/images/icons/social/twitter.svg'|asseturl }}" width="100" height="50"/>
2021-06-24 23:44:12 +02:00
{%- else -%}
Twitter
{%- endif %}
</a>
<a href="https://waffel.reddit.com" title="Reddit">
{% if '/images/icons/social/reddit.svg'|asseturl is defined -%}
2021-10-22 00:12:38 +02:00
<img alt="Twitter" class="footer__social_logo" src="{{ '/images/icons/social/reddit.svg'|asseturl }}" width="100" height="50"/>
2021-06-24 23:44:12 +02:00
{%- else -%}
Reddit
{%- endif %}
</a>
<a href="https://t.me/c3woc" title="Telegram">
{% if '/images/icons/social/telegram.svg'|asseturl is defined -%}
2021-10-22 00:12:38 +02:00
<img alt="Telegram" class="footer__social_logo" src="{{ '/images/icons/social/telegram.svg'|asseturl }}" width="100" height="50"/>
2021-06-24 23:44:12 +02:00
{%- else -%}
Telegram
{%- endif %}
</a>
<a href="https://webirc.hackint.org/#irc://irc.hackint.org/#waffel" title="IRC">
{% if '/images/icons/social/hackint.svg'|asseturl is defined -%}
2021-10-22 00:12:38 +02:00
<img alt="IRC" class="footer__social_logo" src="{{ '/images/icons/social/hackint.svg'|asseturl }}" width="100" height="50"/>
2021-06-24 23:44:12 +02:00
{%- else -%}
IRC
{%- endif %}
</a>
<a href="https://podcast.c3woc.de/" title="Das heiße Eisen - Der Waffel-Podcast">
{% if '/images/icons/social/podcast.svg'|asseturl is defined -%}
2021-10-22 00:12:38 +02:00
<img alt="Waffel Podcast" class="footer__social_logo" src="{{ '/images/icons/social/podcast.svg'|asseturl }}" width="100" height="50"/>
2021-06-24 23:44:12 +02:00
{%- else -%}
Podcast
{%- endif %}
</a>
<a href="https://podcast.c3woc.de/podcast-he.xml" title="Podcast Feed">
{% if '/images/icons/social/feed.svg'|asseturl is defined -%}
2021-10-22 00:12:38 +02:00
<img alt="Podcast Feed" class="footer__social_logo" src="{{ '/images/icons/social/feed.svg'|asseturl }}" width="100" height="50"/>
2021-06-24 23:44:12 +02:00
{%- else -%}
Podcast Feed
{%- endif %}
</a>
</p>
<p>Quellcode und Versionsverwaltung:<br/>
<a href="https://backwesen.de/c3woc/" title="Gitea">
{% if '/images/icons/social/gitea.svg'|asseturl is defined -%}
2021-10-22 00:12:38 +02:00
<img alt="Gitea" class="footer__social_logo" src="{{ '/images/icons/social/gitea.svg'|asseturl }}" width="100" height="50"/>
2021-06-24 23:44:12 +02:00
{%- else -%}
Gitea
{%- endif %}
</a>
<a href="https://github.com/c3woc/" title="Github">
{% if '/images/icons/social/github.svg'|asseturl is defined -%}
2021-10-22 00:12:38 +02:00
<img alt="Github" class="footer__social_logo" src="{{ '/images/icons/social/github.svg'|asseturl }}" width="100" height="50"/>
2021-06-24 23:44:12 +02:00
{%- else -%}
Github
{%- endif %}
</a>
</p>
</li>
<li class="footer__navitem -second">
</li>
<li class="footer__navitem -third">
<a class="footer__navlink" href="{{ '/impressum'|url }}">Impressum</a>
|
<a class="footer__navlink" href="{{ '/datenschutz'|url }}">Datenschutz</a>
<br/>
<img class="footer__wtf_logo" src="/images/logo.svg" alt="C3WOC - Logo" height="50%">
2021-08-11 01:21:25 +02:00
<br/>
2021-06-24 23:44:12 +02:00
© {{ none|datetimeformat('YYYY', 'UTC', locale='de_DE') }} C3 Waffel Operation Center
2021-08-11 01:21:25 +02:00
<br/>
Diese Webseite steht unter der <a class="footer__navlink" href="https://backwesen.de/c3woc/webseite/src/branch/main/LICENCE">MIT License</a>.
2021-06-24 23:44:12 +02:00
</li>
</ul>
2019-02-12 17:45:44 +01:00
</div>
2021-06-24 23:44:12 +02:00
</footer>
{%- if '/js/nav_toggle.js'|asseturl is defined -%}
{{- '\n ' -}} <script type="text/javascript" src="{{ '/js/nav_toggle.js'|asseturl }}"></script>
{%- endif %}
</body>
2021-08-21 23:17:04 +02:00
</html>
2021-06-24 23:44:12 +02:00
<!-- __ _____ _
/ \__..-""" ;-.",'/
( / \_ `.' / `.
| | ) `;. ,' / \ \
( '. /___/_j_ / ) | )
'\ / __\``::'/__' |
|\_ ( / .-| |-.| `-,|
.| ( \ ( (W♥| \♥)j '
..-"""-, .|' ', \_\_`_| ``-.
.-` ..::. `, |, ._:7 \__/
,' .:::'':::. \ |:'. \ ______.-'
.' .::' ':: :._______| \ \ `"7 /
/ ./:' ,.-'''>-' ' `.`.._/ (
- :/:' | / ╱▔╲╱▔╲ `. `._/ \
| :::' .' | ▏WAF ▕ `-_./ |
.' ||| .' | ╲ FEL |
| ||| | | ╲ |
| ':|| '. / \ ╲╱ / \__/
| . ||| |.-"' | /-,_______\ \
|/| ||| | _/ / | |\ \
` ) '::. '. / / | | `-., \
\ ||| | | | | | / )
`. ||| | _/| | | | ( |
`::|| | | | | | \ |
`-._| | \ | \ `.___/
\_______) \_______) C3WOC -->