index's footer's copyright date is taken from python's datetime
This commit is contained in:
+2
-1
@@ -1,9 +1,10 @@
|
||||
import datetime
|
||||
from bottle import route, run, template
|
||||
|
||||
@route('/')
|
||||
def index():
|
||||
"""home page"""
|
||||
info = {'news': 'News goes here', 'title': 'chimchooree\'s dev space - blessfrey', 'year': '2020'}
|
||||
info = {'news': 'News goes here', 'title': 'chimchooree\'s dev space - blessfrey', 'year': datetime.datetime.now()}
|
||||
return template('index.tpl', info)
|
||||
|
||||
@route('/game')
|
||||
|
||||
Reference in New Issue
Block a user