render paths via fnRender correct
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -65,6 +65,7 @@ hr {height:1px; background:none; border-bottom:dotted 1px #666; margin-bottom:20
|
||||
.btn {
|
||||
padding:8px 15px;
|
||||
background:#464645;
|
||||
border: 1px solid #fff;
|
||||
color:#FFF;
|
||||
transition:all 0.3s;
|
||||
text-transform:none;
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
Reference in New Issue
Block a user