mirror of
https://github.com/offen/website.git
synced 2024-12-23 13:30:20 +01:00
display build date in footer
This commit is contained in:
parent
3a4105218b
commit
039d8b3e6d
@ -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
|
||||
|
@ -134,7 +134,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="footer-card">
|
||||
October 2019
|
||||
{{ BUILD_DATE }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user