mark2web/_website/templates/base_blog.html

32 lines
916 B
HTML
Raw Normal View History

2019-02-27 15:58:10 +01:00
{% extends 'base.html' %}
{% block part0 %}
{{ Body }}
{% for e in NavElement.ColMap.blog1st.entries %}
2019-02-27 15:58:10 +01:00
<h2>
{{ e.title }}
<div class="datum">{{ e.date|datum }}</div>
2019-02-27 15:58:10 +01:00
</h2>
{{ e.teaser|markdown }}
{% if e.body %}
2019-02-28 16:25:50 +01:00
<a href="{{ e.date|add:"-"|add:e.title|slugify }}" class="btn">mehr lesen &raquo;</a>
2019-02-27 15:58:10 +01:00
{% endif %}
{% endfor %}
{% endblock part0 %}
{% block part1 %}
{% comment %}
limit wird für skip in Query gebraucht
{% endcomment %}
{% for e in NavElement.ColMap.blog1skip.entries %}
2019-02-27 15:58:10 +01:00
<h2>
{{ e.title }}
<div class="datum">{{ e.date|datum }}</div>
2019-02-27 15:58:10 +01:00
</h2>
{{ e.teaser|markdown }}
{% if e.body %}
2019-02-28 16:25:50 +01:00
<a href="{{ e.date|add:"-"|add:e.title|slugify }}" class="btn">mehr lesen &raquo;</a>
2019-02-27 15:58:10 +01:00
{% endif %}
{% endfor %}
{% endblock part1 %}