Publish new site layout \o/
Former-commit-id: ea2b44b8b3267f7d8b6de7c4faa93e0c68f4db1b [formerly ba1f20b9a5936a4914b1a399bbd957836ad018ab] Former-commit-id: 56619a0c16627d862166c040ce6b7aeb542e29ae
This commit is contained in:
parent
391b9e3e76
commit
bf8f6317fc
6 changed files with 79 additions and 4 deletions
|
@ -10,11 +10,11 @@ as01d1: Unser Equipment
|
|||
---
|
||||
as01l1: https://c3woc.de/equipment
|
||||
---
|
||||
as02d1: Unser Rezept
|
||||
as02d1: Unsere Rezepte
|
||||
---
|
||||
as02h1: Wie backen wir Waffeln
|
||||
---
|
||||
as02l1: https://c3woc.de/rezept
|
||||
as02l1: https://c3woc.de/rezepte
|
||||
---
|
||||
as02b1:
|
||||
|
||||
|
@ -64,6 +64,18 @@ Und natürlich wird darüber auch hier berichtet. [Abonier](https://c3woc.de/fee
|
|||
<td>10.-13. Mai 2018</td>
|
||||
<td><a href="https://gulas.ch">GPN</a></td>
|
||||
<td>Karlsruhe</td>
|
||||
</tr><tr>
|
||||
<td>2.-3. Juni 2018</td>
|
||||
<td><a href="https://makerfairebodensee.com">Makerfaire Bodensee</a></td>
|
||||
<td>Friedrichshafen</td>
|
||||
</tr><tr>
|
||||
<td>15.-17. Juni 2018</td>
|
||||
<td><a href="https://cosin.ch">CoSin</a></td>
|
||||
<td>Biel/Bienne</td>
|
||||
</tr><tr>
|
||||
<td>9.-11. November 2018</td>
|
||||
<td><a href="https://c3c3.de">C6 Geekend</a></td>
|
||||
<td>Kiel</td>
|
||||
</tr><tr>
|
||||
<td>26-30 Dezember 2018</td>
|
||||
<td><a href="https://events.ccc.de/">35. Chaos Communication Congress</a></td>
|
||||
|
|
9
content/equipment/contents.lr
Normal file
9
content/equipment/contents.lr
Normal file
|
@ -0,0 +1,9 @@
|
|||
_model: material
|
||||
---
|
||||
title: Unser Equipment
|
||||
---
|
||||
body: Hier steht demnächst, was wir haben um Waffeln zu backen...
|
||||
---
|
||||
spruch: Ohne Waffeleisen kann man auch keine Waffeln backen
|
||||
---
|
||||
subtitle: Unsere Gerätschaften
|
13
content/rezepte/contents.lr
Normal file
13
content/rezepte/contents.lr
Normal file
|
@ -0,0 +1,13 @@
|
|||
_model: material
|
||||
---
|
||||
title: Rezepte
|
||||
---
|
||||
body:
|
||||
|
||||
Und mit ein paar mehr Zutaten. Mehr dazu später.
|
||||
|
||||
Für den Waffelnotfall gibt es aber auch [hier](http://lmgtfy.com/?s=d&iie=1&q=Waffelteig+Rezept)...
|
||||
---
|
||||
spruch: Ohne guten Teig hilft auch das beste Waffeleisen nicht weiter
|
||||
---
|
||||
subtitle: Waffelteig wird mit Liebe gemacht!
|
19
models/material.ini
Normal file
19
models/material.ini
Normal file
|
@ -0,0 +1,19 @@
|
|||
[model]
|
||||
name = Material (material.html)
|
||||
label = {{ this.title }}
|
||||
|
||||
[fields.title]
|
||||
label = Title
|
||||
type = string
|
||||
|
||||
[fields.spruch]
|
||||
label = Spruch
|
||||
type = markdown
|
||||
|
||||
[fields.subtitle]
|
||||
label = Subtitle
|
||||
type = string
|
||||
|
||||
[fields.body]
|
||||
label = Body
|
||||
type = markdown
|
|
@ -41,8 +41,9 @@
|
|||
<li{% if this._path == '/' %} class="active"{% endif
|
||||
%}><a href="{{ '/'|url }}">Home</a></li>{%
|
||||
for href, title in [
|
||||
['/blog', 'Neuigkeiten'],
|
||||
['/projects', 'Projekte'],
|
||||
['/blog', 'Neuigkeiten'],
|
||||
['/equipment', 'Equipment'],
|
||||
['/rezepte', 'Rezepte'],
|
||||
['/impressum', 'Impressum']
|
||||
] %}
|
||||
<li{% if this.is_child_of(href) %} class="active"{% endif
|
||||
|
|
21
templates/material.html
Normal file
21
templates/material.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block title %}{{ this.title }}{% endblock %}
|
||||
{% block body %}
|
||||
<section class="wrapper alt spotlight style2">
|
||||
<div class="inner">
|
||||
<div class="content">
|
||||
<h2 class="major">{{ this.title }}</h2>
|
||||
{{ this.spruch }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Content -->
|
||||
<div class="wrapper">
|
||||
<div class="inner">
|
||||
<h3 class="major">{{ this.subtitle }}</h3>
|
||||
{{ this.body }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in a new issue