You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from bottle import route, run, template
|
|
|
|
|
|
|
|
@route('/')
|
|
|
|
def index():
|
|
|
|
"""home page"""
|
|
|
|
info = {'news': 'News goes here', 'title': 'chimchooree\'s dev space - blessfrey', 'year': '2020'}
|
|
|
|
return template('index.tpl', info)
|
|
|
|
|
|
|
|
@route('/game')
|
|
|
|
def game():
|
|
|
|
"""game page"""
|
|
|
|
info = {}
|
|
|
|
return template('game.tpl')
|
|
|
|
|
|
|
|
@route('/presskit')
|
|
|
|
def presskit():
|
|
|
|
"""press page"""
|
|
|
|
info = {}
|
|
|
|
return template('presskit.tpl')
|
|
|
|
|
|
|
|
#@route('/diary')
|
|
|
|
#def diary():
|
|
|
|
# """diary page"""
|
|
|
|
# info = {}
|
|
|
|
# return template('diary.tpl', info)
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
run()
|