diff --git a/models/projekte.ini b/models/projekte.ini index 14c8696..c7f7621 100644 --- a/models/projekte.ini +++ b/models/projekte.ini @@ -15,6 +15,14 @@ type = text label = Begrüßungstext type = markdown +[fields.title2] +label = Title nach Begruessung +type = string + +[fields.description] +label = Description nach Begruessung +type = markdown + [fields.link] label = RSS Feed type = string @@ -30,3 +38,8 @@ order_by = -pub_date, title [pagination] enabled = yes per_page = 9999 + +[fields.desc] +label = HTML HEAD Description +type = string + diff --git a/templates/projekte.html b/templates/projekte.html index 9505f83..86398a8 100644 --- a/templates/projekte.html +++ b/templates/projekte.html @@ -1,6 +1,8 @@ {% extends "layout.html" %} {% from "macros/projekt.html" import render_blog_post %} - {% block title %}{{ this.title }}{% endblock %} +{% block title + %}{{ this.title }}{% +endblock %} {% block body %}
@@ -11,13 +13,17 @@
{{ this.begruessung }}
-
-
- {% for child in this.pagination.items|sort(attribute='number', reverse = True)%} - {{ render_blog_post(child, from_index=true) }} +
+

{{ this.title2 }}

+ {{ this.description2 }} +
+
+
{% + for child in this.pagination.items|sort(attribute='number', reverse = True)%} + {{ render_blog_post(child, from_index=true) }} {% endfor %}
-