@ -89,19 +89,19 @@ def index():
@route ( ' /game ' )
@route ( ' /game ' )
def game ( ) :
def game ( ) :
""" game page """
""" game page """
info = { ' title' : ' blessfrey - about the game ' , ' year ' : datetime . datetime . now ( ) }
info = { ' css' : ' game ' , ' title' : ' blessfrey - about the game ' , ' year ' : datetime . datetime . now ( ) }
return template ( ' game.tpl ' , info )
return template ( ' game.tpl ' , info )
@route ( ' /presskit ' )
@route ( ' /presskit ' )
def presskit ( ) :
def presskit ( ) :
""" press page """
""" press page """
info = { ' title' : ' blessfrey - presskit ' , ' year ' : datetime . datetime . now ( ) }
info = { ' css' : ' presskit ' , ' title' : ' blessfrey - presskit ' , ' year ' : datetime . datetime . now ( ) }
return template ( ' presskit.tpl ' , info )
return template ( ' presskit.tpl ' , info )
@route ( ' /diary ' )
@route ( ' /diary ' )
def diary ( ) :
def diary ( ) :
""" diary page """
""" diary page """
info = { ' title' : ' blessfrey - about the game ' , ' year ' : datetime . datetime . now ( ) , ' snippets ' : list_snippets ( sort_files ( gather_files ( ) ) ) , ' latest ' : make_latest ( ) }
info = { ' css' : ' diary ' , ' title' : ' blessfrey - about the game ' , ' year ' : datetime . datetime . now ( ) , ' snippets ' : list_snippets ( sort_files ( gather_files ( ) ) ) , ' latest ' : make_latest ( ) }
return template ( ' diary.tpl ' , info )
return template ( ' diary.tpl ' , info )
if __name__ == ' __main__ ' :
if __name__ == ' __main__ ' :