From 66572aead983ed5953a4ceccaf0c4826b9afd409 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 20:59:42 +0100 Subject: [PATCH] calling the category and page pages alive again --- plugins-custom | 2 +- themes/cetcat/templates/base.html | 4 ++-- themes/cetcat/templates/category.html | 3 ++- themes/cetcat/templates/index.html | 4 ++-- themes/cetcat/templates/page.html | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/plugins-custom b/plugins-custom index 4ded3cbc6c..d91a9e910b 160000 --- a/plugins-custom +++ b/plugins-custom @@ -1 +1 @@ -Subproject commit 4ded3cbc6c9899acbed83a146107c8244c56f882 +Subproject commit d91a9e910bffb850ecb597f5c77241678f197e24 diff --git a/themes/cetcat/templates/base.html b/themes/cetcat/templates/base.html index da3ac5fec1..80abaf2c1c 100644 --- a/themes/cetcat/templates/base.html +++ b/themes/cetcat/templates/base.html @@ -10,8 +10,8 @@ {% from 'syndication.html' import syndication with context %} {{ syndication(article) }} - - + + {% endblock head %} diff --git a/themes/cetcat/templates/category.html b/themes/cetcat/templates/category.html index e937d831e6..90105190eb 100644 --- a/themes/cetcat/templates/category.html +++ b/themes/cetcat/templates/category.html @@ -1,6 +1,7 @@ {% extends "index.html" %} {% block content_title %} -

{{ category }}

+

Category: {{ category }}

+
{% for p in pages %} {% if p.slug == category %}
{{ p.content }}
diff --git a/themes/cetcat/templates/index.html b/themes/cetcat/templates/index.html index 0d8f28a785..4b087798e8 100644 --- a/themes/cetcat/templates/index.html +++ b/themes/cetcat/templates/index.html @@ -52,14 +52,14 @@ {% if article.category %}
- → {{ article.category }} + → {{ article.category }}
{% endif %} {% if article.tags %}
Tags: {% for tag in article.tags %} - + {% endfor %}
{% endif %} diff --git a/themes/cetcat/templates/page.html b/themes/cetcat/templates/page.html index 5101af577b..68449375ef 100644 --- a/themes/cetcat/templates/page.html +++ b/themes/cetcat/templates/page.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block title %}{{ page.title }}{%endblock%} {% block content %} -
+
{{ page.content }} {% if page.modified %}