From: moo Date: Mon, 1 Jun 2026 22:17:00 +0000 (-0700) Subject: add dates X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=44daaf0fbb95fd32552be980cbb2a683b3f57eae;p=blog.git add dates --- diff --git a/public/blog/index.html b/public/blog/index.html index 335081a..6326784 100644 --- a/public/blog/index.html +++ b/public/blog/index.html @@ -32,14 +32,16 @@
  • second post - -
  • - +

    — 2026-06-01

    + + +
  • first post - -
  • - +

    — 2026-04-16

    + + + diff --git a/public/miniblog/index.html b/public/miniblog/index.html index a4d5cb8..fdf40af 100644 --- a/public/miniblog/index.html +++ b/public/miniblog/index.html @@ -32,14 +32,16 @@
  • newtest - -
  • - +

    — 2026-06-01

    + + +
  • first mini - -
  • - +

    — 2026-04-16

    + + + diff --git a/templates/blog.html b/templates/blog.html index e6c3f22..675dd0c 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -8,8 +8,9 @@ {% for page in section.pages %}
  • {{ page.title }} - {% if page.summary %}
    {{ page.summary | safe }}
    {% endif %} -
  • - {% endfor %} +

    — {{ page.date }}

    + {% if page.summary %}
    {{ page.summary | safe }}
    {% endif %} + + {% endfor %} {% endblock content %}