diff --git a/src/index.py b/src/index.py index 1de4232..3e2f6df 100644 --- a/src/index.py +++ b/src/index.py @@ -19,11 +19,11 @@ def presskit(): info = {'title': 'blessfrey - presskit', 'year': datetime.datetime.now()} return template('presskit.tpl', info) -#@route('/diary') -#def diary(): -# """diary page""" -# info = {} -# return template('diary.tpl', info) +@route('/diary') +def diary(): + """diary page""" + info = {'title': 'blessfrey - about the game', 'year': datetime.datetime.now()} + return template('diary.tpl', info) if __name__ == '__main__': run() diff --git a/src/views/diary.tpl b/src/views/diary.tpl new file mode 100644 index 0000000..c2f8fbf --- /dev/null +++ b/src/views/diary.tpl @@ -0,0 +1,36 @@ + +% rebase('frame.tpl') + +