mark2web/website/templates/base_blog.html

34 lines
987 B
HTML
Raw Permalink 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:"s=monokai" }}
2019-02-27 15:58:10 +01:00
{% 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-03-24 14:51:40 +01:00
<div class="blogEntry">
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:"s=monokai" }}
2019-02-27 15:58:10 +01:00
{% 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 %}
2019-03-24 14:51:40 +01:00
</div>
2019-02-27 15:58:10 +01:00
{% endfor %}
{% endblock part1 %}