Start using bags

Former-commit-id: 83e88d2c88092b1da8ea4386e0223dff7a03af7a [formerly 29ca813b768b9de1ab2e5032f72691ca687e4a79] [formerly ee4f701342e0ae29f4c00ed81319cefa672f85c9 [formerly c394d8a2c429b994eb4eab5adae3cbdd432e5c6f]]
Former-commit-id: 7032a9a3ad62a332346b3c6331c7e7da850563e2 [formerly fb379494cf9114e89295aa1b6a9ff760f0ad0003]
Former-commit-id: c8f6088bd27513ad056b4c109bcd4478e9ece429
This commit is contained in:
L3D 2018-11-03 15:54:24 +01:00
parent 1cbaca189f
commit 2dae8b4d98
4 changed files with 96 additions and 40 deletions

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "assets/images/logo"] [submodule "assets/images/logo"]
path = assets/images/logo path = assets/images/logo
url = git@git.see-base.de:c3woc/c3woc-logo.git url = https://git.see-base.de/c3woc/c3woc-logo.git

54
content/fame/contents.lr Normal file
View file

@ -0,0 +1,54 @@
_model: site
---
title: Medienberichte
---
spruch: Waffeln sind in aller munde!
---
subtitle: Hier wurde das C3WOC erwähnt
---
body:
<table><thead><tr><th>Datum</th><th>Veranstaltung</th><th>Ort</th></tr></thead><tbody><tr>
<tr>
<td>9.-11. November 2018</td>
<td><a href="https://c3c3.de">C6 Geekend</a></td>
<td>Kiel</td>
</tr><tr>
<td>17. November 2018</td>
<td><a href="https://toolbox-bodensee.de/termine/">Tag der offenen Türe im Hackerspace Toolbox</a></td>
<td>Markdorf</td>
</tr><tr>
<td>23. - 25. November 2018</td>
<td><a href="https://entropia.de/GPN18,5">Glühweinprogrammiernacht (GlühPN) </a></td>
<td>Karlsruhe</td>
</tr><tr>
<td>1. Dezember 2018</td>
<td><a href="https://waldorfschule-ueberlingen.de/termine/schule/veranstaltungen/index.html">Adventsbasar beim Hackerspace see-base</a></td>
<td>Überlingen</td>
</tr><tr>
<td>26.-30. Dezember 2018</td>
<td><a href="https://events.ccc.de/">35. Chaos Communication Congress</a></td>
<td>Leipzig</td>
</tr><tr>
<td>19. - 22. April 2019</td>
<td><a href="https://eh19.easterhegg.eu/">Easterhegg 2019</a></td>
<td>Wien</td>
</tr><tr>
<td>30. Mai - 2. Juni 2019</td>
<td><a href="https://entropia.de/GPN19/">GPN19</a></td>
<td>Karlsruhe</td>
</tr><tr>
<td>14. - 16. Juni 2019</td>
<td><a href="https://cosin.ch/">Cosin</a></td>
<td>Biel/Bienne</td>
</tr><tr>
<td>21.-25. August 2019</td>
<td><a href="https://events.ccc.de">CCCamp 2019</a></td>
<td>Ziegeleipark Mildenberg 🚀</td>
</tr>
</tfoot></table>

24
databags/translate.ini Normal file
View file

@ -0,0 +1,24 @@
# Hier finden sich generische Übersetzungen
# Für die C3WOC Webseite
[de]
close = Schließen
news = Neuigkeiten
equipment = Equipment
waffledough = Waffelteig
sanitariness = Hygiene
participate = Mitmachen
imprint = Impressum
dataprotection = Datenschutz
[en]
close = close
news = News
equipment = Equipment
waffledough = Waffledough
sanitariness = Sanitariness
participate = Participate
imprint = Imprint
dataprotection = Cyber Data Protection

View file

@ -1,9 +1,4 @@
<!DOCTYPE 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> <html>
<head> <head>
<title>{% block title %}Start{% endblock %}</title> <title>{% block title %}Start{% endblock %}</title>
@ -41,7 +36,6 @@
<div class="inner"> <div class="inner">
<h2>Menu</h2> <h2>Menu</h2>
<ul class="links"> <ul class="links">
{% if this.alt == 'en' %}
<li{% if this._path == '/' %} class="active"{% endif <li{% if this._path == '/' %} class="active"{% endif
%}><a href="{{ '/'|url }}">home</a></li>{% %}><a href="{{ '/'|url }}">home</a></li>{%
for href, title in [ for href, title in [
@ -49,33 +43,17 @@
['/equipment', 'equipment'], ['/equipment', 'equipment'],
['/rezept', 'waffledough'], ['/rezept', 'waffledough'],
['/hygiene', 'sanitariness'], ['/hygiene', 'sanitariness'],
['/mitmachen', 'Mitmachen'], ['/mitmachen', 'participate'],
['/impressum', 'imprint'], ['/impressum', 'imprint'],
['/datenschutz', 'dataprotection'] ['/datenschutz', 'dataprotection']
] %} ] %}
<li{% if this.is_child_of(href) %} class="active"{% endif <li{% if this.is_child_of(href) %} class="active"{% endif
%}><a href="{{ href|url }}">{{ title }}</a></li>{% %}><a href="{{ href|url }}">{% if bag('translate', this.alt, title)
%}{{ bag('translate', this.alt, title) }}{% else %}{{ title }}{% endif %}</a></li>{%
endfor %} endfor %}
</ul> </ul>
<a href="#" class="close">close</a> <a href="#" class="close">{% if bag('translate', this.alt, 'close')
{% else %} %}{{ bag('translate', this.alt, 'close') }}{% else %}Schließen{% endif %}</a>
<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> </div>
</nav> </nav>