added featured image
This commit is contained in:
parent
a98e187197
commit
8e85404e4d
@ -10,8 +10,15 @@
|
|||||||
{% endblock content_header %}
|
{% endblock content_header %}
|
||||||
|
|
||||||
{% block content_body %}
|
{% block content_body %}
|
||||||
<div>
|
<div class="page-body">
|
||||||
{{ page.content }}
|
{% if page.featured_image is defined %}
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="{{ page.featured_image }}" title="{{ page.title }} (Bild)">
|
||||||
|
<img src="{{ page.featured_image }}" alt="{{ page.title }} (Bild)" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{{ page.content }}
|
||||||
</div>
|
</div>
|
||||||
{% endblock content_body %}
|
{% endblock content_body %}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user