From 9ddcdb581cd912a4d92ed6f8f34ac2a04ddab58c Mon Sep 17 00:00:00 2001 From: Patrick Canterino Date: Sun, 13 Feb 2022 11:34:56 +0100 Subject: [PATCH] Convert month numbers to month names --- notes/templates/archive_month.html | 5 +++-- notes/templates/archive_year.html | 3 ++- notes/templatetags/notes_extras.py | 8 +++++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/notes/templates/archive_month.html b/notes/templates/archive_month.html index 594eb35..835fcca 100644 --- a/notes/templates/archive_month.html +++ b/notes/templates/archive_month.html @@ -1,9 +1,10 @@ {% extends "note_base.html" %} +{% load notes_extras %} -{% block title %}Archive {{ month }} / {{ year }} – Notes{% endblock %} +{% block title %}Archive {{ month|month_name}} / {{ year }} – Notes{% endblock %} {% block content %} -

Archive {{ month }} / {{ year }}

+

Archive {{ month|month_name }} / {{ year }}

{% if notes %}