Update waffle news
This commit is contained in:
parent
b449cbc8d2
commit
779e05b06b
2 changed files with 4 additions and 3 deletions
|
@ -41,7 +41,7 @@ order_by = -number, title
|
|||
|
||||
[pagination]
|
||||
enabled = yes
|
||||
per_page = 9999
|
||||
per_page = 9
|
||||
|
||||
[fields.desc]
|
||||
label = HTML HEAD Description
|
||||
|
|
|
@ -155,11 +155,12 @@
|
|||
</ul>{%
|
||||
elif title == 'Blog' %}
|
||||
<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{%
|
||||
if this._path == child._path %} class="active"{% endif
|
||||
%}><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>{%
|
||||
endif %}</li>{%
|
||||
endif %}{%
|
||||
|
|
Loading…
Reference in a new issue