From 720985a502788c17cb74813faf2e70f384c0e14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 22 Nov 2019 15:12:22 -0500 Subject: [PATCH] Added lost tags --- cl-theme/templates/categories.html | 16 ++++++++++ cl-theme/templates/category.html | 21 ++++++++++++ cl-theme/templates/tag.html | 17 ++++++++++ cl-theme/templates/tags.html | 51 ++++++++++++++++++++++++++++++ 4 files changed, 105 insertions(+) create mode 100644 cl-theme/templates/categories.html create mode 100644 cl-theme/templates/category.html create mode 100644 cl-theme/templates/tag.html create mode 100644 cl-theme/templates/tags.html diff --git a/cl-theme/templates/categories.html b/cl-theme/templates/categories.html new file mode 100644 index 0000000..88071f9 --- /dev/null +++ b/cl-theme/templates/categories.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block head %} + {% block title %} + {{ SITENAME }} + {% endblock %} + {{ super() }} +{% endblock %} + +{% block content %} + +{% endblock %} diff --git a/cl-theme/templates/category.html b/cl-theme/templates/category.html new file mode 100644 index 0000000..02b5595 --- /dev/null +++ b/cl-theme/templates/category.html @@ -0,0 +1,21 @@ +{% extends "base.html" %} + +{% block head %} + + {% block title %} + {{ category.name }} - {{SITENAME}} + {% endblock %} + {{ super() }} + +{% endblock %} + +{% block content %} +
+

{{ category }}

+
+ {{ super() }} +{% endblock %} diff --git a/cl-theme/templates/tag.html b/cl-theme/templates/tag.html new file mode 100644 index 0000000..9ddf6b5 --- /dev/null +++ b/cl-theme/templates/tag.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} +{% block head %} + {% block title %}#{{ tag.name }} - {{SITENAME}}{% endblock title %} + {{ super() }} + + +{% endblock %} +{% block content %} +
+

#{{ tag }}

+
+ {{ super() }} +{% endblock %} diff --git a/cl-theme/templates/tags.html b/cl-theme/templates/tags.html new file mode 100644 index 0000000..320c5d7 --- /dev/null +++ b/cl-theme/templates/tags.html @@ -0,0 +1,51 @@ +{% extends "base.html" %} + +{% block head %} + {% block title %} + {{ _('Lista de etiquetas de %(sitename)s', sitename=SITENAME)}} + {% endblock %} + {{ super() }} + + + +{% endblock %} + +{% block content %} +
+ +
+ +
+
+ +
+

{{ _('Lista de etiquetas') }}

+
+ + + +
+
+
+ +
+
    + {%- for tag, articles in tags|sort %} +
  • {{ tag }} ({{ articles|count }})
  • + {% endfor %} +
+
+ +
+
+
+
+ +
+
+
+{% endblock %}