Update waffle news

This commit is contained in:
L3D 2019-03-09 10:38:23 +01:00
parent b449cbc8d2
commit 779e05b06b
2 changed files with 4 additions and 3 deletions

View file

@ -41,7 +41,7 @@ order_by = -number, title
[pagination] [pagination]
enabled = yes enabled = yes
per_page = 9999 per_page = 9
[fields.desc] [fields.desc]
label = HTML HEAD Description label = HTML HEAD Description

View file

@ -155,11 +155,12 @@
</ul>{% </ul>{%
elif title == 'Blog' %} elif title == 'Blog' %}
<ul>{% set root = site.get('/blog/', alt=this.alt) %}{% <ul>{% set root = site.get('/blog/', alt=this.alt) %}{%
for child in root.children recursive %} for child in root.children recursive %}{% if loop.index <= 8 %}
<li{% <li{%
if this._path == child._path %} class="active"{% endif if this._path == child._path %} class="active"{% endif
%}><a href="{{ child|url }}">{{ child.shorttitle }}</a></li>{% %}><a href="{{ child|url }}">{{ child.shorttitle }}</a></li>{%
endfor %} endif %}{% endfor %}
<li><a href="{{ '/blog/'|url }}">Alle Beiträge</a></li>
<li><a href="{{ '/feed_blog.xml'|url }}">RSS Feed</a></li></ul>{% <li><a href="{{ '/feed_blog.xml'|url }}">RSS Feed</a></li></ul>{%
endif %}</li>{% endif %}</li>{%
endif %}{% endif %}{%