From 7e22f00ac59748c0735ab14f1598607cfb9b7266 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Fri, 16 Jun 2023 09:45:05 +0200 Subject: [PATCH] updated default theme --- blag/templates/base.html | 9 +++++---- blag/templates/index.html | 22 ++++++++++++---------- blag/templates/tag.html | 2 +- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/blag/templates/base.html b/blag/templates/base.html index de1f6af..2dad0d7 100644 --- a/blag/templates/base.html +++ b/blag/templates/base.html @@ -23,9 +23,9 @@

{{ site.description }}

@@ -38,10 +38,11 @@ diff --git a/blag/templates/index.html b/blag/templates/index.html index a88a011..002e185 100644 --- a/blag/templates/index.html +++ b/blag/templates/index.html @@ -3,18 +3,20 @@ {% block title %}{{ site.title }}{% endblock %} {% block content %} -{% for entry in archive[:10] %} - {% if entry.title %} -

{{entry.title}}

+{% for entry in archive[:15] %} - {% if entry.description %} -

— {{ entry.description }}

- {% endif %} - - {% endif %} - -

Written on {{ entry.date.date() }}.

+
+
+ +
+

{{ entry.title }}

+ {% if entry.description %} +

— {{ entry.description }}

+ {% endif %} +
+
+
{% endfor %} diff --git a/blag/templates/tag.html b/blag/templates/tag.html index 84bbe2c..4abd3bc 100644 --- a/blag/templates/tag.html +++ b/blag/templates/tag.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}Tag: {{ tag }}{% endblock %} +{% block title %}#{{ tag }}{% endblock %} {% block content %}