- {% if article.content | length is not eq(0) %}{{ article.content }}{% endif %}
- {% if article.stats or article.tags %}
-
-
Details
-
- {% if article.stats %}
- {% set stats = article.stats %}
- {% if stats.reihe is defined %}
- - aus der Reihe "{{ stats.reihe }}"
- {% endif %}
- {% if stats.isbn is defined %}
- - ISBN: {{ stats.isbn }}
- {% endif %}
- {% if stats.verlag is defined %}
- - erschienen bei: {{ stats.verlag }}
- {% endif %}
- {% endif %}
- {% if article.tags is defined %}
- - Schlagworte:
- {% for t in article.tags %}- {{ t }}
{% endfor %}
-
- {% endif %}
-
+
+
+
+ {% if article.content | length is not eq(0) %}
+ {{ article.content }}
+ {% endif %}
+ {% if article.stats or article.tags %}
+
+
Details
+
+ {% if article.stats %}
+ {% set stats = article.stats %}
+ {% if stats.reihe is defined %}
+ - aus der Reihe "{{ stats.reihe }}"
+ {% endif %}
+ {% if stats.isbn is defined %}
+ - ISBN: {{ stats.isbn }}
+ {% endif %}
+ {% if stats.verlag is defined %}
+ - erschienen bei: {{ stats.verlag }}
+ {% endif %}
+ {% endif %}
+ {% if article.tags is defined %}
+ - Schlagworte:
+
+ {% for t in article.tags %}
+ - {{ t }}
+ {% endfor %}
+
+
+ {% endif %}
+
+
+ {% endif %}
+
+
+ {% if article.featured_image is defined %}
+ {% from 'includes/macros.html' import fi %}
+ {% set i = article.featured_image[0] %}
+ {{ fi(i.pic, i.link, i.text, i.title, i.credit, i.credit_link) }}
+ {% endif %}
+ {% if article.klappentext %}
+
Klappentext
+
{{ article.klappentext }}
+ {% endif %}
+
-{% endif %}
-
-
- {% if article.featured_image is defined %}
- {% from 'includes/macros.html' import fi %}
- {% set i = article.featured_image[0] %}
- {{ fi(i.pic, i.link, i.text, i.title, i.credit, i.credit_link) }}
- {% endif %}
- {% if article.klappentext %}
-
Klappentext
-
{{ article.klappentext }}
- {% endif %}
+ {% endblock content_body %}
+ {% block content_footer %}
+
-
-{% endblock content_body %}
+{% endblock content_footer %}
diff --git a/theme/templates/contact.html b/theme/templates/contact.html
index 1b4ae1b..39f0de6 100644
--- a/theme/templates/contact.html
+++ b/theme/templates/contact.html
@@ -1,15 +1,13 @@
-{% extends "page.html" %}
-
-{% block content_body %}
-{% if page.featured_image %}
- {% from 'includes/macros.html' import pi %}
- {% set i = page.featured_image[0] %}
- {{ pi(i.pic, i.link, i.text, i.alt, i.credit, i.credit_link) }}
-{% endif %}
+{% extends "page.html" %} {% block content_header %}
- {% include "includes/contact_form.html" %}
+ {% if page.featured_image %}
+
+ {% endif %} {% endblock content_header %} {% block content_body %} {% include
+ "includes/contact_form.html" %} {% endblock content_body %} {% block
+ content_footer %}
-{% endblock content_body %}
-
-{% block content_footer %}
{% endblock content_footer %}
diff --git a/theme/templates/includes/macros.html b/theme/templates/includes/macros.html
index ba9ae67..fd9d87b 100644
--- a/theme/templates/includes/macros.html
+++ b/theme/templates/includes/macros.html
@@ -8,12 +8,6 @@
{% endmacro %}
-{# output a featured image for a page #}
-{% macro pi(pic, link='', alt='', title='', credit='', credit_link='') %}
-
{{ fi(pic, link, text, alt, credit, credit_link) }}
-{% endmacro %}
-
-
{# output a card image #}
{% macro ci(pic, link='', alt='', title='', credit='', credit_link='') %}
diff --git a/theme/templates/page.html b/theme/templates/page.html
index 5fdc939..114aaa9 100644
--- a/theme/templates/page.html
+++ b/theme/templates/page.html
@@ -1,7 +1,10 @@
{% extends "base.html" %}
-{% block title %}{{ page.title }} - {{ SITENAME }}{% endblock %}
-{% block metadesc %}{% if page.summary %}{{ page.summary|e }}{% else %}{{ super() }}{% endif
-%}{% endblock %}
+{% block title %}
+ {{ page.title }} - {{ SITENAME }}
+{% endblock %}
+{% block metadesc %}
+{% if page.summary %}{{ page.summary|e }}{% else %}{{ super() }}{% endif %}
+{% endblock %}
{% block content_header %}
@@ -10,24 +13,30 @@
{% endblock content_header %}
{% block content_body %}
-
-
+
+
+
{{ page.content }}
+
+
+ {% if page.featured_image %}
+ {% from 'includes/macros.html' import fi %}
+ {% set i = page.featured_image[0] %}
+ {{ fi(i.pic, i.link, i.text, i.alt, i.credit, i.credit_link) }}
+ {% endif %}
+
-
- {% if page.featured_image is defined %}
- {% from 'includes/macros.html' import fi %}
- {% set i = page.featured_image[0] %}
- {{ fi(i.pic, i.link, i.text, i.alt, i.credit, i.credit_link) }}
- {% endif %}
-
-
-{% endblock content_body %}
+ {% endblock content_body %}
-{% block content_footer %}
-{% if page.footer_line is defined %}
-{{ page.footer_line }}
-{% elif page.footer_include is defined %}
-{% include page.footer_include %}
-{% endif %}
-{% endblock content_footer %}
\ No newline at end of file
+ {% block content_footer %}
+ {% if page.footer_line %}
+
+ {% elif page.footer_include %}
+
+ {% endif %}
+ {% endblock content_footer %}
+
diff --git a/theme/templates/termine.html b/theme/templates/termine.html
index 67b6354..69782fe 100644
--- a/theme/templates/termine.html
+++ b/theme/templates/termine.html
@@ -4,38 +4,43 @@
{% set date_format = "%d.%m." %}
{% set time_format = "%H:%M" %}
{% block content_body %}
- {% if page.featured_image %}
+
+{% if page.featured_image %}
+