Waffelupdates zum neuen Design
Former-commit-id: 18652fbea6ffa1879194c376f70307c1b09528f4 [formerly 28608f5f7650ae86cc13a2ea60b9ec2023833a45] Former-commit-id: 113e10e57eb00b1ba268a560e0506042527ccd8d
This commit is contained in:
parent
150af6993e
commit
391b9e3e76
14 changed files with 145 additions and 99 deletions
|
@ -1 +1,3 @@
|
||||||
_model: blog
|
_model: blog
|
||||||
|
---
|
||||||
|
title: Neuigkeiten
|
||||||
|
|
|
@ -17,3 +17,5 @@ Das nächste größere Chaosevent mit Waffelunterstützung ist die <a href="http
|
||||||
pub_date: 2018-04-02
|
pub_date: 2018-04-02
|
||||||
---
|
---
|
||||||
twitter_handle: c3woc
|
twitter_handle: c3woc
|
||||||
|
---
|
||||||
|
subtitle: In Würzburg wollte es keine Waffeln geben
|
||||||
|
|
|
@ -6,6 +6,8 @@ author: L3D
|
||||||
---
|
---
|
||||||
body:
|
body:
|
||||||
|
|
||||||
|
<h3 class="major"> Es ist etwas unglaubliches geschehen!</h3>
|
||||||
|
|
||||||
Das c3woc hat nun endlich eine Webseite \o/
|
Das c3woc hat nun endlich eine Webseite \o/
|
||||||
|
|
||||||
Mehr dazu auf [git.see-base.de](https://git.see-base.de/l3d/c3woc).
|
Mehr dazu auf [git.see-base.de](https://git.see-base.de/l3d/c3woc).
|
||||||
|
|
|
@ -50,10 +50,28 @@ Und natürlich wird darüber auch hier berichtet. [Abonier](https://c3woc.de/fee
|
||||||
Unsere nächsten Events
|
Unsere nächsten Events
|
||||||
===
|
===
|
||||||
|
|
||||||
* [Flash in den Mai](https://freifunk-stuttgart.de/2018/04/17/flash-in-den-mai-2018/) im Shackspace<br/>
|
|
||||||
* [Hackerthon](https://uh18.diin.io/) auf dem Bodensee<br/>
|
<table><thead><tr><th>Datum</th><th>Veranstaltung</th><th>Ort</th></tr></thead>
|
||||||
* [GPN](https://gulas.ch) in karlsruhe<br/>
|
<tbody><tr>
|
||||||
* [Congress](https://events.ccc.de) in Leipzig
|
<td>28. April 2018</td>
|
||||||
|
<td><a href="https://freifunk-stuttgart.de/2018/04/17/flash-in-den-mai-2018/">Flash in den Mai</a></td>
|
||||||
|
<td>Stuttgart</td>
|
||||||
|
</tr><tr>
|
||||||
|
<td>4.-5. Mai 2018</td>
|
||||||
|
<td><a href="https://uh18.diin.io">UH18 Hackerthon</a></td>
|
||||||
|
<td>Bodensee</td>
|
||||||
|
</tr><tr>
|
||||||
|
<td>10.-13. Mai 2018</td>
|
||||||
|
<td><a href="https://gulas.ch">GPN</a></td>
|
||||||
|
<td>Karlsruhe</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>
|
||||||
|
</tr></tfoot></table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
where: Wo sind wir als nächstes
|
where: Wo sind wir als nächstes
|
||||||
|
|
|
@ -1,26 +1,33 @@
|
||||||
title: Kontakt
|
_model: site
|
||||||
|
---
|
||||||
|
title: Impressum
|
||||||
---
|
---
|
||||||
body:
|
body:
|
||||||
|
|
||||||
IRC:
|
IRC:
|
||||||
|
-----
|
||||||
|
|
||||||
````
|
```
|
||||||
Server: irc.hackint.org
|
Server: irc.hackint.org
|
||||||
Channel: #waffel
|
Channel: #waffel
|
||||||
````
|
```
|
||||||
[irc://irc.hackint.org](ircs://irc.hackint.org:6697/#waffel) - [Web IRC](https://webirc.hackint.org/#irc://irc.hackint.org/#waffel)
|
[irc://irc.hackint.org](ircs://irc.hackint.org/#waffel) - [Web IRC](https://webirc.hackint.org/#irc://irc.hackint.org/#waffel)
|
||||||
|
|
||||||
|
Mail:
|
||||||
Mail:
|
----
|
||||||
````
|
```
|
||||||
waffel@c3woc.de
|
waffel@c3woc.de
|
||||||
````
|
```
|
||||||
|
|
||||||
Postanschrift:
|
Postanschrift:
|
||||||
|
----
|
||||||
````
|
```
|
||||||
Toolbox Bodensee e.V.
|
Toolbox Bodensee e.V.
|
||||||
c3WOC
|
c3WOC
|
||||||
Bergheimer Str. 6-12
|
Bergheimer Str. 6-12
|
||||||
88677 Markdorf
|
88677 Markdorf
|
||||||
````
|
```
|
||||||
|
---
|
||||||
|
subtitle: Kontaktmöglichkeiten
|
||||||
|
---
|
||||||
|
spruch: So kann man uns erreichen...
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
title: Equipment
|
|
||||||
---
|
|
||||||
body:
|
|
||||||
|
|
||||||
Wir haben an strategisch wichtigen Standorten gute Waffeleisen deponiert.
|
|
||||||
Hier eine Übersicht der Waffeleisen:
|
|
||||||
|
|
||||||
Bartscher Herz-Waffeleisen
|
|
||||||
========================
|
|
||||||
<span class="image main">
|
|
||||||
<img src="/images/toolbox-kiste.jpg" />
|
|
||||||
</span>
|
|
||||||
Leistung:
|
|
||||||
----
|
|
||||||
```
|
|
||||||
Verbrauch bis zu: 2,2 kW
|
|
||||||
Temperaturregler bis 300°C
|
|
||||||
Waffelform: Herzwaffel
|
|
||||||
Waffelgröße: Ø 210 mm, Höhe 16 mm
|
|
||||||
Gewicht: 15,5 kg
|
|
||||||
```
|
|
|
@ -24,6 +24,12 @@ label = Publication date
|
||||||
type = date
|
type = date
|
||||||
width = 1/4
|
width = 1/4
|
||||||
|
|
||||||
|
[fields.subtitle]
|
||||||
|
label = Untertitle
|
||||||
|
type = string
|
||||||
|
size = large
|
||||||
|
|
||||||
|
|
||||||
[fields.body]
|
[fields.body]
|
||||||
label = Body
|
label = Body
|
||||||
type = markdown
|
type = markdown
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[model]
|
[model]
|
||||||
name = Home
|
name = Home (page.html)
|
||||||
label = {{ this.title }}
|
label = {{ this.title }}
|
||||||
|
|
||||||
[fields.title]
|
[fields.title]
|
||||||
|
|
|
@ -1,39 +1,19 @@
|
||||||
[model]
|
[model]
|
||||||
name = Home
|
name = Seiten (site.html)
|
||||||
label = {{ this.title }}
|
label = {{ this.title }}
|
||||||
|
|
||||||
[fields.title]
|
[fields.title]
|
||||||
label = Title
|
label = Title
|
||||||
type = string
|
type = string
|
||||||
|
|
||||||
|
[fields.spruch]
|
||||||
|
label = Spruch
|
||||||
|
type = markdown
|
||||||
|
|
||||||
|
[fields.subtitle]
|
||||||
|
label = Subtitle
|
||||||
|
type = string
|
||||||
|
|
||||||
[fields.body]
|
[fields.body]
|
||||||
label = Body
|
label = Body
|
||||||
type = markdown
|
type = markdown
|
||||||
|
|
||||||
----------------------
|
|
||||||
|
|
||||||
[fields.as01h1]
|
|
||||||
label = Überschrift #1
|
|
||||||
type = string
|
|
||||||
|
|
||||||
[fields.as01b1]
|
|
||||||
label = Body #1
|
|
||||||
txpe = markdown
|
|
||||||
|
|
||||||
[fields.as02h1]
|
|
||||||
label = Überschrift #2
|
|
||||||
type = string
|
|
||||||
|
|
||||||
[fields.as02b1]
|
|
||||||
label = Body #2
|
|
||||||
txpe = markdown
|
|
||||||
|
|
||||||
[fields.as03h1]
|
|
||||||
label = Überschrift #3
|
|
||||||
type = string
|
|
||||||
|
|
||||||
[fields.as03b1]
|
|
||||||
label = Body #3
|
|
||||||
txpe = markdown
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,14 @@
|
||||||
{% from "macros/pagination.html" import render_pagination %}
|
{% from "macros/pagination.html" import render_pagination %}
|
||||||
{% block title %}{{ this.title }}{% endblock %}
|
{% block title %}{{ this.title }}{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
<section id="one" class="wrapper alt spotlight style2">
|
||||||
|
<div class="inner">
|
||||||
|
<a class="image"><img src="{{ '/images/c3woc/c3woc.svg'|url }}" alt="" /></a>
|
||||||
|
<div class="content">
|
||||||
|
<h2 class="major">{{ this.title }}</h2>
|
||||||
|
<a>Waffeltastische Neuigkeiten. Jetzt auch als </a><a href="{{ '/feed.xml'|url }}">RSS <span class="icon fa-rss"></span></a>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
{% for child in this.pagination.items %}
|
{% for child in this.pagination.items %}
|
||||||
{{ render_blog_post(child, from_index=true) }}
|
{{ render_blog_post(child, from_index=true) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
for href, title in [
|
for href, title in [
|
||||||
['/blog', 'Neuigkeiten'],
|
['/blog', 'Neuigkeiten'],
|
||||||
['/projects', 'Projekte'],
|
['/projects', 'Projekte'],
|
||||||
['/impressum', 'Kontakt']
|
['/impressum', 'Impressum']
|
||||||
] %}
|
] %}
|
||||||
<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 }}">{{ title }}</a></li>{%
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
<!-- Banner -->
|
<!-- Banner -->
|
||||||
<section id="banner">
|
<section id="banner">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="logo"><span class="icon fa-heart"></span></div>
|
<div class="logo"><a href="{{ '/'|url }}"><span class="icon fa-heart"></span></a></div>
|
||||||
<h2>C3WOC</h2>
|
<h2>C3WOC</h2>
|
||||||
<p>C3 Waffel Operation Center <span class="icon fa-heart"></span> Wir machen Waffeln</p>
|
<p>C3 Waffel Operation Center <span class="icon fa-heart"></span> Wir machen Waffeln</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,20 +1,40 @@
|
||||||
{% macro render_blog_post(post, from_index=false) %}
|
{% macro render_blog_post(post, from_index=false) %}
|
||||||
<div class="blog-post">
|
{% if from_index == True %}
|
||||||
{% if from_index %}
|
<!-- Wrapper -->
|
||||||
<h2><a href="{{ post|url }}#Cyber">{{ post.title }}</a></h2>
|
<!-- <section id="wrapper"> -->
|
||||||
{% else %}
|
<header>
|
||||||
<h2>{{ post.title }}</h2>
|
<div class="inner">
|
||||||
{% endif %}
|
{% if from_index %}
|
||||||
<p class="meta">
|
<h2><a href="{{ post|url }}">{{ post.title }}</a></h2>
|
||||||
written by
|
{% else %}
|
||||||
{% if post.twitter_handle %}
|
<h2>{{ post.title }}</h2>
|
||||||
<a href="https://twitter.com/{{ post.twitter_handle
|
{% endif %}
|
||||||
}}">{{ post.author or post.twitter_handle }}</a>
|
<p class="meta">Written by {%
|
||||||
{% else %}
|
if post.twitter_handle %}<a href="https://chaos.social/@{{ post.twitter_handle }}">{{ post.author or post.twitter_handle }}</a>{%
|
||||||
{{ post.author }}
|
else %}{{ post.author }}{%
|
||||||
{% endif %}
|
endif %} on {{ post.pub_date }}</p>
|
||||||
on {{ post.pub_date }}
|
</div>
|
||||||
</p>
|
</header>
|
||||||
{{ post.body }}
|
{% else %}
|
||||||
|
<section class="wrapper alt spotlight style2">
|
||||||
|
<div class="inner">
|
||||||
|
<div class="content">
|
||||||
|
<h2 class="major">{{ post.title }}</h2>
|
||||||
|
<p class="meta">Written by {%
|
||||||
|
if post.twitter_handle %}<a href="https://chaos.social/@{{ post.twitter_handle }}">{{ post.author or post.twitter_handle }}</a>{%
|
||||||
|
else %}{{ post.author }}{%
|
||||||
|
endif %} on {{ post.pub_date }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
|
{% endif %}
|
||||||
|
<!-- Content -->
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="inner">
|
||||||
|
<h2 class="major">{{ post.subtitle }}</h2>
|
||||||
|
{{ post.body }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- </section>-->
|
||||||
|
|
||||||
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
|
@ -1,15 +1,25 @@
|
||||||
{% macro render_pagination(pagination) %}
|
{% macro render_pagination(pagination) %}
|
||||||
<div class="pagination">
|
<section id="two" class="wrapper alt spotlight style2">
|
||||||
|
<div class="inner">
|
||||||
|
<style>
|
||||||
|
#two li {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<ul class="pagination">
|
||||||
{% if pagination.has_prev %}
|
{% if pagination.has_prev %}
|
||||||
<a href="{{ pagination.prev|url }}">« Previous</a>
|
<li><a href="{{ pagination.prev|url }}" class="button small disabled">Zurück</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="disabled">« Previous</span>
|
<li><span class="button small disabled">Zurück</span></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
| {{ pagination.page }} |
|
<li><a href="#" class="page active">{{ pagination.page }}</a></li>
|
||||||
{% if pagination.has_next %}
|
{% if pagination.has_next %}
|
||||||
<a href="{{ pagination.next|url }}">Next »</a>
|
<li><a href="{{ pagination.next|url }}" class="button small">Weiter</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="disabled">Next »</span>
|
<li><span class="button small disabled">Weiter</span></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
|
@ -1,9 +1,21 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block title %}{{ this.title }}{% endblock %}
|
{% block title %}{{ this.title }}{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="page">
|
<section class="wrapper alt spotlight style2">
|
||||||
<h2>{{ this.title }}</h2>
|
<div class="inner">
|
||||||
<span class="image main"><img src="images/njom.jpg" alt="" /></span>
|
<div class="content">
|
||||||
{{ this.body }}
|
<h2 class="major">{{ this.title }}</h2>
|
||||||
</div>
|
{{ this.spruch }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Content -->
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="inner">
|
||||||
|
<h3 class="major">{{ this.subtitle }}</h3>
|
||||||
|
{{ this.body }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue