fixed a bug which would lead to wrong hyperlinks

This commit is contained in:
eclipse 2025-02-07 14:53:51 +01:00
parent 35190ce9db
commit 60a14f80f3

View File

@ -11,11 +11,11 @@
{% for article in articles if article[page.card_selector_key] == selector_value %} {% for article in articles if article[page.card_selector_key] == selector_value %}
<article class="card"> <article class="card">
<header class="article-header"> <header class="article-header">
<h3><a href="{{ article.url }}" title="{{ article.title }}">{{ article.title }}</a></h3> <h3><a href="{{ article.save_as }}" title="{{ article.title }}">{{ article.title }}</a></h3>
</header> </header>
<div class="article-body"> <div class="article-body">
{% if article.titelbild %} {% if article.titelbild %}
<a href="{{ article.url }}" title="{{ article.title }}"><img alt='Titelbild zu "{{ article.title }}"' <a href="{{ article.save_as }}" title="{{ article.title }}"><img alt='Titelbild zu "{{ article.title }}"'
src="{{ article.titelbild }}" /></a> src="{{ article.titelbild }}" /></a>
{% endif %} {% endif %}
@ -30,4 +30,5 @@
{% endblock content_body %} {% endblock content_body %}
{% block content_footer %} {% block content_footer %}
{#{% debug %}#}
{% endblock content_footer %} {% endblock content_footer %}