From 039d8b3e6dd0987d1c436716fd1987bb1e67e228 Mon Sep 17 00:00:00 2001
From: Frederik Ring
Date: Wed, 2 Oct 2019 11:13:26 +0200
Subject: [PATCH] display build date in footer
---
homepage/pelicanconf.py | 4 ++++
homepage/theme/templates/base.html | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/homepage/pelicanconf.py b/homepage/pelicanconf.py
index 2008b43..ffa8816 100644
--- a/homepage/pelicanconf.py
+++ b/homepage/pelicanconf.py
@@ -1,3 +1,5 @@
+from datetime import datetime
+from calendar import month_name
# If your site is available via HTTPS, make sure SITEURL begins with https://
RELATIVE_URLS = False
@@ -7,6 +9,8 @@ PATH = 'content'
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'en'
+BUILD_DATE = '{} {}'.format(month_name[datetime.today().month], datetime.today().year)
+
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
diff --git a/homepage/theme/templates/base.html b/homepage/theme/templates/base.html
index 1cd4b3b..18854a4 100644
--- a/homepage/theme/templates/base.html
+++ b/homepage/theme/templates/base.html
@@ -134,7 +134,7 @@