fixed malformed links
This commit is contained in:
parent
2ae4cafecd
commit
099bb2214c
@ -1,9 +1,4 @@
|
||||
{% extends "page.html" %}
|
||||
{% block title %} {{ super() }} {% endblock %}
|
||||
{% block metadesc %} {{ super() }} {% endblock %}
|
||||
|
||||
|
||||
{% block content_header %} {{ super() }} {% endblock content_header %}
|
||||
|
||||
{% block content_body %}
|
||||
{% set selector_value = page.card_selector_value if page.card_selector_value is defined else page.title %}
|
||||
@ -11,11 +6,11 @@
|
||||
{% for article in articles if article[page.card_selector_key] == selector_value %}
|
||||
<article class="card">
|
||||
<header class="article-header">
|
||||
<h3><a href="{{ article.save_as }}" title="{{ article.title }}">{{ article.title }}</a></h3>
|
||||
<h3><a href="/{{ article.save_as }}" title="{{ article.title }}">{{ article.title }}</a></h3>
|
||||
</header>
|
||||
<div class="article-body">
|
||||
{% if article.titelbild %}
|
||||
<a href="{{ article.save_as }}" 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>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user