40 lines
1.0 KiB
HTML
40 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Schlagwort: {{ tag }} - {{ SITENAME }}
|
|
{% endblock %}
|
|
{% block metadesc %}
|
|
Alle Einträge zum Schlagwort '{{ tag }}'
|
|
{% endblock %}
|
|
|
|
{% block content_all %}
|
|
{% block content_header %}
|
|
<div class="extra-header">
|
|
<h1>Schlagwort: {{ tag }}</h1>
|
|
</div>
|
|
{% endblock content_header %}
|
|
|
|
{% block content_body %}
|
|
{% from 'includes/macros.html' import ci %}
|
|
{% for article in articles %}
|
|
{% set link = article.featured_image[0].link | default("/" + article.save_as) %}
|
|
<article class="tag-entry">
|
|
<div class="tag-content">
|
|
<h2><a href="{{ 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, link, 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 %}
|
|
|
|
{% endblock content_all %}
|