|
|
@ -63,6 +63,24 @@
|
|
|
|
{% endmacro %}
|
|
|
|
{% endmacro %}
|
|
|
|
|
|
|
|
|
|
|
|
{% macro list_posts(section) %}
|
|
|
|
{% macro list_posts(section) %}
|
|
|
|
|
|
|
|
{% for post in section.pages %}
|
|
|
|
|
|
|
|
<article>
|
|
|
|
|
|
|
|
<div class="title">
|
|
|
|
|
|
|
|
<a href="{{ post.permalink }}">{{ post.title }}</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if post.summary %}
|
|
|
|
|
|
|
|
{{ post.summary | safe }}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
{{ post.content | safe }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if post.date %}
|
|
|
|
|
|
|
|
<div class="date">{{ post.date | date(format="%d.%m.%Y")}}</div>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% endmacro %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% macro list_external_links(section) %}
|
|
|
|
{% for post in section.pages %}
|
|
|
|
{% for post in section.pages %}
|
|
|
|
<a href="
|
|
|
|
<a href="
|
|
|
|
{% if post.extra.link %}
|
|
|
|
{% if post.extra.link %}
|
|
|
@ -83,14 +101,7 @@
|
|
|
|
{{ post.title }}
|
|
|
|
{{ post.title }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% if post.summary %}
|
|
|
|
{{ post.content | safe }}
|
|
|
|
{{ post.summary | safe }}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
{{ post.content | safe }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if post.date %}
|
|
|
|
|
|
|
|
<div class="date">{{ post.date | date(format="%d.%m.%Y")}}</div>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</article>
|
|
|
|
</article>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|