render paths via fnRender correct
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank
2019-02-28 14:14:31 +01:00
parent d78ecf4682
commit e943271561
7 changed files with 125 additions and 68 deletions

View File

@@ -10,7 +10,7 @@
{{ e.teaser|markdown }}
{% if e.body %}
<a href="{{ e.title|slugify }}" class="btn">mehr lesen</a>
{{ fnRender("base_blog_details.html", e.title, "details", e) }}
{{ fnRender("base_blog_details.html", e.title, e) }}
{% endif %}
{% endfor %}
{% endblock part0 %}
@@ -27,7 +27,7 @@
{{ e.teaser|markdown }}
{% if e.body %}
<a href="{{ e.title|slugify }}" class="btn">mehr lesen</a>
{{ fnRender("base_blog_details.html", e.title, "details", e) }}
{{ fnRender("base_blog_details.html", e.title, e) }}
{% endif %}
{% endfor %}
{% endblock part1 %}

View File

@@ -1,10 +1,10 @@
{% extends 'base.html' %}
{% block part0 %}
<h1>{{ details.title }}</h1>
{{ details.teaser|markdown }}
<h1>{{ Data.title }}</h1>
{{ Data.teaser|markdown }}
{% endblock part0 %}
{% block part1 %}
{{ details.body|markdown }}
{{ Data.body|markdown }}
{% endblock part1 %}