28 lines
841 B
HTML
28 lines
841 B
HTML
{% extends "index.html" %}
|
|
|
|
{% block content_header %}
|
|
<header id="main-header">
|
|
<h1>{{ tag }} (Schlagwort)</h1>
|
|
</header>
|
|
{% endblock content_header %}
|
|
|
|
{% block content_body %}
|
|
{% from 'includes/macros.html' import ci %}
|
|
{% for article in articles %}
|
|
<article class="wcard">
|
|
<div class="tag-content">
|
|
<h2><a href="{{ article.featured_image[0].link }}">{{ article.title }}</a></h2>
|
|
{{ article.summary }}
|
|
</div>
|
|
<div class="tag-image">
|
|
{% if article.featured_image %}
|
|
{% set i = article.featured_image[0] %}
|
|
{{ ci('../' + i.pic, i.link | default("/" + article.save_as), i.alt | default("Titelbild von " + article.title), i.title | default(article.title), i.credit, i.credit_link) }}
|
|
{% endif %}
|
|
</div>
|
|
</article>
|
|
{% endfor %}
|
|
{% endblock content_body %}
|
|
|
|
{% block content_footer %}
|
|
{% endblock content_footer %} |