index's footer's copyright date is taken from python's datetime

small-nav
Mimi Momo 4 years ago
parent 5df3535428
commit 36702a2c2e

@ -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')

Loading…
Cancel
Save