added featured image

This commit is contained in:
eclipse 2025-02-26 22:40:52 +01:00
parent a98e187197
commit 8e85404e4d

View File

@ -10,7 +10,14 @@
{% endblock content_header %} {% endblock content_header %}
{% block content_body %} {% block content_body %}
<div> <div class="page-body">
{% 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 }} {{ page.content }}
</div> </div>
{% endblock content_body %} {% endblock content_body %}