diff --git a/src/index.py b/src/index.py index 9769bb7..c978e13 100644 --- a/src/index.py +++ b/src/index.py @@ -132,5 +132,11 @@ def diary(page): info = {'css': 'diary', 'title': 'blessfrey - developer diary', 'year': datetime.datetime.now(), 'snippets': list_snippets(sort_files(gather_files())), 'latest': list_headlines(sort_files(gather_files())[0:5]), 'total': len(gather_files()), 'limit': 4, 'cluster': 3, 'page': page} return template('diary.tpl', info) +@route('/box') +def box(): + """personal page""" + info = {'css': 'box', 'title': 'chimchooree\'s personal page', 'year': datetime.datetime.now()} + return template('box.tpl', info) + if __name__ == '__main__': run() diff --git a/src/robots.txt b/src/robots.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/static/css/box.css b/src/static/css/box.css new file mode 100755 index 0000000..ccdd3eb --- /dev/null +++ b/src/static/css/box.css @@ -0,0 +1,30 @@ +* { + padding:25; + margin:25; +} + +a { + text-decoration: none; +} +a:link { + color: red; +} +a:visited { + color: hotpink; +} +a:hover { + color: green; +} +a:active { + color: blue; +} +mark { + background-color: #900C3F; + color: hotpink; +} +ul { list-style-position: inside; } + +body { + background-color: #e5c5d1; + color: #900C3F; +} diff --git a/src/views/box.tpl b/src/views/box.tpl new file mode 100644 index 0000000..d1bca9a --- /dev/null +++ b/src/views/box.tpl @@ -0,0 +1,18 @@ +% rebase('frame.tpl') + +

+ How did you find this page?
+ It's my secret page.
+
+

Articles

+ +
+

Web Design

+ +
+