From 4dcfa509702dcfe9535baf9a5c8bc2f1b8278cc5 Mon Sep 17 00:00:00 2001 From: Karim Hamidou Date: Sun, 10 Apr 2016 08:43:52 -0700 Subject: [PATCH] tiny changes --- app.py | 1 + templates/index.html | 2 +- templates/rfc.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index df14e5c8..6f3e18c0 100644 --- a/app.py +++ b/app.py @@ -42,6 +42,7 @@ def render_text_rfc(rfc_number): rendered = render_html_rfc(filename, metadata) rendered['title'] = title rendered['total_processing_time'] = start - time.time() + rendered['date'] = datetime.datetime.utcnow() return render_template('rfc.html', **rendered) diff --git a/templates/index.html b/templates/index.html index 098884c1..8455cead 100644 --- a/templates/index.html +++ b/templates/index.html @@ -48,7 +48,7 @@
Who is behind this?
-

Hi, I'm Karim! I'm a backend engineer and have to spend a lot of time reading RFCs. Unfortunately, most of them are hard to understand because they look so dry.

+

Hi, I'm Karim! I'm a backend engineer and have to spend a lot of time reading RFCs. Unfortunately, most of them are hard to understand because they look so dry. I decided to help my fellow engineers and write the RFC website I'd like to have. After a lot of on-and-off hacking, RFCSpot was born!

Special thanks:
diff --git a/templates/rfc.html b/templates/rfc.html index f7f728d4..a77f3fea 100644 --- a/templates/rfc.html +++ b/templates/rfc.html @@ -19,7 +19,7 @@ {{ rfc|safe }} - RFCSpot, Copyright (c) 2016 Karim Hamidou. +

RFCSpot, Copyright {{ date.year }} Karim Hamidou.

-- 2.43.0