From 258c81178d7a973eb4f01abaeb55ab69406ea63d Mon Sep 17 00:00:00 2001 From: chimchooree Date: Sun, 4 Oct 2020 21:36:42 -0500 Subject: [PATCH] added a contact page, linked from diary's twitter box --- src/index.py | 6 ++++++ src/views/contact.tpl | 11 +++++++++++ src/views/diary.tpl | 6 ++++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 src/views/contact.tpl diff --git a/src/index.py b/src/index.py index 47f13b8..64d3f24 100644 --- a/src/index.py +++ b/src/index.py @@ -141,5 +141,11 @@ def credits(): info = {'css': 'box', 'title': 'blessfrey - credits', 'year': datetime.datetime.now()} return template('credits.tpl', info) +@route('/contact') +def contact(): + """contact page""" + info = {'css': 'box', 'title': 'blessfrey - contact chimchooree', 'year': datetime.datetime.now()} + return template('contact.tpl', info) + if __name__ == '__main__': run() diff --git a/src/views/contact.tpl b/src/views/contact.tpl new file mode 100644 index 0000000..319afe1 --- /dev/null +++ b/src/views/contact.tpl @@ -0,0 +1,11 @@ +% rebase('frame.tpl') + +
+

Contact

+

General + Business

+ I would love to hear from you once blessfrey.me is functional and my dev email is set up. Won't be long.
+
+ You can always reach me on Twitter as @lilchimchooree through DMs or mentions.
+
+
+ diff --git a/src/views/diary.tpl b/src/views/diary.tpl index e379636..692bda9 100644 --- a/src/views/diary.tpl +++ b/src/views/diary.tpl @@ -95,6 +95,8 @@

follow

@lilchimchooree
+
+contact me
@@ -102,7 +104,7 @@

@@ -111,7 +113,7 @@

disclosure

- blessfrey.me is not using sponsored posts or affiliate links right now. Any that appear will be properly disclosed.
+ blessfrey.me is not using sponsored posts or affiliate links right now. Any that appear will be properly disclosed.

blessfrey.me does not collect personal information + has no cookies. Just a simple dev site.