From d3fb375420ea040a381027b19af33faeea65c473 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Tue, 21 Nov 2023 21:26:28 +0100 Subject: change date formatting and add date to post titles --- templates/index.html | 2 +- templates/page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 8187404..5ea7788 100644 --- a/templates/index.html +++ b/templates/index.html @@ -32,7 +32,7 @@ {{ page.title }} - @{{ page.date | date(format="%F") }} | {{ page.reading_time }} minute read + {{ page.date | date(format="%Y/%m/%d") }} - {{ page.reading_time }} minute read diff --git a/templates/page.html b/templates/page.html index 61dd22f..e7504f4 100644 --- a/templates/page.html +++ b/templates/page.html @@ -3,7 +3,7 @@ {% block content %}
-

{{ page.title }}

+

{{ page.date | date(format="%Y/%m/%d") }} - {{ page.title }}

{{ page.content | safe }} -- cgit v1.2.3