2019-02-27 15:58:10 +01:00
{% extends 'base.html' %}
{% block part0 %}
{{ Body }}
2019-03-04 16:05:29 +01:00
{% for e in fnRequest("https://mark2web.basiscms.de/api/collections/get/mark2webBlog?token="|add:Data.token|add:"& filter[published]=true& sort[date]=-1& limit=1").entries %}
2019-02-27 15:58:10 +01:00
< h2 >
{{ e.title }}
2019-02-28 18:36:36 +01:00
< 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 » < / a >
2019-02-28 15:40:06 +01:00
{{ fnRender("base_blog_details.html", e.date|add:"-"|add:e.title, e, "details", e.body) }}
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-04 16:05:29 +01:00
{% for e in fnRequest("https://mark2web.basiscms.de/api/collections/get/mark2webBlog?token="|add:Data.token|add:"& filter[published]=true& sort[date]=-1& skip=1& limit=100").entries %}
2019-02-27 15:58:10 +01:00
< h2 >
{{ e.title }}
2019-02-28 18:36:36 +01:00
< 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 » < / a >
2019-02-28 15:40:06 +01:00
{{ fnRender("base_blog_details.html", e.date|add:"-"|add:e.title, e, "details", e.body) }}
2019-02-27 15:58:10 +01:00
{% endif %}
{% endfor %}
{% endblock part1 %}