multi-langual-blog

Former-commit-id: 48d2d4389a91b090fd3064dba5d25815dc5e2b54 [formerly e240236e62e66ed21ef326784e558f81d7997814] [formerly 080690acb8af7f8b16d93f9d3efe00187914ee26 [formerly d0df14d42ad2b43381928ced15657ea660396733]]
Former-commit-id: 1aa57bf7f8630e4676556b94b0e672018012dbb2 [formerly 1a2040319e8c4be54532a25ab381461ed777d767]
Former-commit-id: dccb5db2d4c6ede40bf1657577631de4b538290d
This commit is contained in:
L3D 2018-10-15 23:23:41 +02:00
parent b81814324f
commit 004f978334
5 changed files with 22 additions and 5 deletions

View file

@ -0,0 +1,8 @@
title: News
---
sub_title:
<a>Tasty news. Now available as </a><a href="{{ '/feed.xml'|url }}">RSS <span class="icon fa-rss"></span></a> <br/>
<a>tactical waffle operations. now available as
</a><a href="{{ '/waffeln.ics'|url }}">ICS <span class="icon fa-calendar"></span></a>

View file

@ -1,3 +1,9 @@
_model: blog _model: blog
--- ---
title: Neuigkeiten title: Neuigkeiten
---
sub_title:
<a>Leckere Neuigkeiten. Jetzt auch als </a><a href="{{ '/feed.xml'|url }}">RSS <span class="icon fa-rss"></span></a> <br/>
<a>Taktische Waffeleinsätze. Jetzt auch als </a><a href="{{ '/waffeln.ics'|url }}">ICS <span class="icon fa-calendar"></span></a>

View file

@ -45,7 +45,7 @@ obviously we may inform you about that. That could be in our [IRC](https://webir
You can subscribe [our calendar](https://c3woc.de/waffeln.ics) to stay informed about our bigger events. You can subscribe [our calendar](https://c3woc.de/waffeln.ics) to stay informed about our bigger events.
<h3 id="tourdaten" class="major"> Unsere nächsten Events</h3> <h3 id="tourdaten" class="major"> Our next events</h3>
--- ---
title: We love waffles title: We love waffles
@ -54,7 +54,7 @@ where: Where are we next
--- ---
tour: tour:
<table><thead><tr><th>Datum</th><th>Veranstaltung</th><th>Ort</th></tr></thead><tbody><tr> <table><thead><tr><th>date</th><th>event</th><th>place</th></tr></thead><tbody><tr>
<tr> <tr>
@ -63,7 +63,7 @@ tour:
<td>Kiel</td> <td>Kiel</td>
</tr><tr> </tr><tr>
<td>17. November 2018</td> <td>17. November 2018</td>
<td><a href="https://toolbox-bodensee.de/termine/">Tag der offenen Türe im Hackerspace Toolbox</a></td> <td><a href="https://toolbox-bodensee.de/termine/">Tag der offenen Türe im Hackspace Toolbox</a></td>
<td>Markdorf</td> <td>Markdorf</td>
</tr><tr> </tr><tr>
<td>23. - 25. November 2018</td> <td>23. - 25. November 2018</td>

View file

@ -8,6 +8,10 @@ label = Blog
type = string type = string
name = Blog name = Blog
[fields.sub_title]
label = Untertitel
type = html
[children] [children]
model = blog-post model = blog-post
order_by = -pub_date, title order_by = -pub_date, title

View file

@ -8,8 +8,7 @@
<a class="image"><img src="{{ '/images/c3woc/c3woc.svg'|url }}" alt="" /></a> <a class="image"><img src="{{ '/images/c3woc/c3woc.svg'|url }}" alt="" /></a>
<div class="content"> <div class="content">
<h2 class="major">{{ this.title }}</h2> <h2 class="major">{{ this.title }}</h2>
<a>Leckere Neuigkeiten. Jetzt auch als </a><a href="{{ '/feed.xml'|url }}">RSS <span class="icon fa-rss"></span></a> <br/> {{ this.sub_title }}
<a>Taktische Waffeleinsätze. Jetzt auch als </a><a href="{{ '/waffeln.ics'|url }}">ICS <span class="icon fa-calendar"></span></a>
</div> </div>
</section> </section>
{% for child in this.pagination.items %} {% for child in this.pagination.items %}