From 5c828f6589760bf7b7e5172c734a3883f5a1e3ed Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Fri, 6 Aug 2021 10:16:51 -0700 Subject: [PATCH] add archives page, link for gitlog --- themes/simple/templates/archives.html | 16 ++++++++++++++++ themes/simple/templates/base.html | 6 ++++++ themes/simple/templates/tags.html | 14 ++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 themes/simple/templates/archives.html create mode 100644 themes/simple/templates/tags.html diff --git a/themes/simple/templates/archives.html b/themes/simple/templates/archives.html new file mode 100644 index 0000000..19b25fa --- /dev/null +++ b/themes/simple/templates/archives.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Archives{% endblock %} + +{% block content %} +

Archives for {{ SITENAME }}

+ +
+{% for article in dates %} +
{{ article.locale_date }}
+
+ {{ article.title }} +
+{% endfor %} +
+{% endblock %} diff --git a/themes/simple/templates/base.html b/themes/simple/templates/base.html index 84e5759..7eeac6e 100644 --- a/themes/simple/templates/base.html +++ b/themes/simple/templates/base.html @@ -96,6 +96,12 @@ {% endfor %} {% endif %} +
  • + Archives +
  • +
  • + GitLog +
  • {% block content %} diff --git a/themes/simple/templates/tags.html b/themes/simple/templates/tags.html new file mode 100644 index 0000000..8901554 --- /dev/null +++ b/themes/simple/templates/tags.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Tags{% endblock %} + +{% block content %} +

    Tags for {{ SITENAME }}

    + +{% endblock %}