From 4be392e35fc7acd667ce3813fde10f0dc0280687 Mon Sep 17 00:00:00 2001 From: Romain J Date: Sat, 16 May 2020 15:57:04 +0200 Subject: [PATCH] feat(footer): add commit version in footer --- apps/gnous_eu/templates/layouts/footer.html | 8 +++++--- apps/gnous_eu/templatetags/__init__.py | 0 apps/gnous_eu/templatetags/version.py | 15 +++++++++++++++ apps/gnous_eu/views.py | 1 - 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 apps/gnous_eu/templatetags/__init__.py create mode 100644 apps/gnous_eu/templatetags/version.py diff --git a/apps/gnous_eu/templates/layouts/footer.html b/apps/gnous_eu/templates/layouts/footer.html index 166486e..0b25fa2 100644 --- a/apps/gnous_eu/templates/layouts/footer.html +++ b/apps/gnous_eu/templates/layouts/footer.html @@ -1,4 +1,5 @@ {% load i18n %} +{% load version %}