|
@@ -44,18 +44,32 @@
|
44
|
44
|
<p>{{current_page.content}}</p>
|
45
|
45
|
</header>
|
46
|
46
|
</section>
|
47
|
|
-
|
|
47
|
+ {% set ralign = false %}
|
48
|
48
|
{% if current_page.tree_node.children %}
|
49
|
49
|
{% set childPages = current_page.tree_node.children|map("page") %}
|
50
|
50
|
{% for child in childPages|sort_by(['meta','ReleaseIndex'])|reverse if child %}
|
51
|
51
|
{% if child.title %}
|
52
|
52
|
<section id="content" class="main">
|
|
53
|
+ {% if ralign == true %}
|
|
54
|
+ <header class="major secondary">
|
|
55
|
+ {% else %}
|
53
|
56
|
<header class="major">
|
|
57
|
+ {% endif %}
|
54
|
58
|
<h2>{{child.title}}</h2>
|
55
|
59
|
</header>
|
|
60
|
+ {% if ralign == true %}
|
|
61
|
+ <p class="secondary">{{child.description}}</p>
|
|
62
|
+ {% else %}
|
56
|
63
|
<p>{{child.description}}</p>
|
|
64
|
+ {% endif %}
|
57
|
65
|
<ul class="actions">
|
|
66
|
+ {% if ralign == true %}
|
|
67
|
+ <li class="secondary"><a href="{{child.url}}" class="button">Weiterlesen</a></li>
|
|
68
|
+ {% set ralign = false %}
|
|
69
|
+ {% else %}
|
58
|
70
|
<li><a href="{{child.url}}" class="button">Weiterlesen</a></li>
|
|
71
|
+ {% set ralign = true %}
|
|
72
|
+ {% endif %}
|
59
|
73
|
</ul>
|
60
|
74
|
</section>
|
61
|
75
|
{% endif %}
|