diff --git a/templates/archives.html b/templates/archives.html index e69de29..e1998ac 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -0,0 +1,47 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Archives{% endblock %} + +{% block header %} + + +
+
+ +

{{ SITENAME }} - Archives

+ {% if HEADER_COVER %} +
+ {% elif HEADER_COLOR %} +
+ {% else %} +
+ {% endif %} +
+
+{% endblock header %} + +{% block content %} +
+
+
+ {% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+ {% endfor %} +
+
+
+{% endblock content %} diff --git a/templates/article.html b/templates/article.html index ebcfd89..79193f1 100644 --- a/templates/article.html +++ b/templates/article.html @@ -123,7 +123,7 @@ {% if article.header_cover %}
{% elif HEADER_COVER %} -
+
{% elif HEADER_COLOR %}
{% else %} diff --git a/templates/author.html b/templates/author.html index 9d3d052..aa7bda7 100644 --- a/templates/author.html +++ b/templates/author.html @@ -31,6 +31,7 @@

Articles by {{ author|capitalize }}

+ Posts: {{ articles|count }} {% if HEADER_COVER %}
{% elif HEADER_COLOR %} @@ -41,3 +42,5 @@
{% endblock header %} + + diff --git a/templates/categories.html b/templates/categories.html index e69de29..4ab4ea3 100644 --- a/templates/categories.html +++ b/templates/categories.html @@ -0,0 +1,44 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Categories{% endblock %} + +{% block header %} + + +
+
+ +

{{ SITENAME }} - Categories

+ {% if HEADER_COVER %} +
+ {% elif HEADER_COLOR %} +
+ {% else %} +
+ {% endif %} +
+
+{% endblock header %} + +{% block content %} + {% for category, articles in categories |sort %} + + {% endfor %} +{% endblock content %} diff --git a/templates/category.html b/templates/category.html index e69de29..f69c1bd 100644 --- a/templates/category.html +++ b/templates/category.html @@ -0,0 +1,35 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - Articles in the {{ category }} category{% endblock %} + +{% block header %} + + +
+
+ +

Category {{ category }}

+ Posts: {{ articles|count }} + {% if HEADER_COVER %} +
+ {% elif HEADER_COLOR %} +
+ {% else %} +
+ {% endif %} +
+
+{% endblock header %} diff --git a/templates/page.html b/templates/page.html index e69de29..f813681 100644 --- a/templates/page.html +++ b/templates/page.html @@ -0,0 +1,49 @@ +{% extends "index.html" %} + +{% block title %}{{ page.title }}{% endblock title %} + +{% block header %} + + +
+
+ +

{{ page.title }}

+ {% if page.header_cover %} +
+ {% elif HEADER_COVER %} +
+ {% elif HEADER_COLOR %} +
+ {% else %} +
+ {% endif %} +
+
+{% endblock header %} + +{% block content %} + +
+
+
+
+ {{page.content}} +
+
+
+
+{% endblock content %} diff --git a/templates/period_archives.html b/templates/period_archives.html index e69de29..849e6d3 100644 --- a/templates/period_archives.html +++ b/templates/period_archives.html @@ -0,0 +1,47 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Archives for {{ period | reverse | join (' ') }}{% endblock %} + +{% block header %} + + +
+
+ +

Archives for {{ period | reverse | join (' ') }}

+ {% if HEADER_COVER %} +
+ {% elif HEADER_COLOR %} +
+ {% else %} +
+ {% endif %} +
+
+{% endblock header %} + +{% block content %} +
+
+
+ {% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+ {% endfor %} +
+
+
+{% endblock content %} diff --git a/templates/tags.html b/templates/tags.html index 269f7f7..4b37e4a 100644 --- a/templates/tags.html +++ b/templates/tags.html @@ -34,7 +34,7 @@ {% endblock header %} {% block content %} - {%- for tag, articles in tags|sort %} + {% for tag, articles in tags|sort %}