|
|
@ -1,6 +1,10 @@
|
|
|
|
import datetime
|
|
|
|
import datetime
|
|
|
|
from bottle import route, run, template
|
|
|
|
from bottle import route, run, template
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# diary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Webpages
|
|
|
|
|
|
|
|
|
|
|
|
@route('/')
|
|
|
|
@route('/')
|
|
|
|
def index():
|
|
|
|
def index():
|
|
|
|
"""home page"""
|
|
|
|
"""home page"""
|
|
|
@ -22,7 +26,7 @@ def presskit():
|
|
|
|
@route('/diary')
|
|
|
|
@route('/diary')
|
|
|
|
def diary():
|
|
|
|
def diary():
|
|
|
|
"""diary page"""
|
|
|
|
"""diary page"""
|
|
|
|
info = {'title': 'blessfrey - about the game', 'year': datetime.datetime.now()}
|
|
|
|
info = {'title': 'blessfrey - about the game', 'year': datetime.datetime.now(), 'snippets': 'snippet', 'latest': 'latest'}
|
|
|
|
return template('diary.tpl', info)
|
|
|
|
return template('diary.tpl', info)
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
if __name__ == '__main__':
|
|
|
|