mark2web/website/templates/base_blog.html

32 lines
900 B
HTML
Raw Normal View History

2019-02-27 15:58:10 +01:00
{% extends 'base.html' %}
{% block part0 %}
{{ Body }}
2019-03-10 16:02:53 +01:00
{% for e in NavElement.ColMap.blog1st %}
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 %}
2019-03-10 16:02:53 +01:00
{% for e in NavElement.ColMap.blog1skip %}
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 %}