]> khamidou — GitHub mirrors - rfcspot.git/commitdiff
tiny changes master
authorKarim Hamidou <khamidou@gmail.com>
Sun, 10 Apr 2016 15:43:52 +0000 (08:43 -0700)
committerKarim Hamidou <khamidou@gmail.com>
Sun, 10 Apr 2016 15:43:52 +0000 (08:43 -0700)
app.py
templates/index.html
templates/rfc.html

diff --git a/app.py b/app.py
index df14e5c81ae8080b025c0aaf8de738575a17eb8d..6f3e18c06577b659a22365e80acd7cde9239e09a 100644 (file)
--- 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 = 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)
 
 
     return render_template('rfc.html', **rendered)
 
index 098884c152cf0a362ea701886bdeb0ce88740872..8455cead29ce41037c278d3fe29506838f50e0a4 100644 (file)
@@ -48,7 +48,7 @@
 
         <hr>
         <h5>Who is behind this?</h5>
 
         <hr>
         <h5>Who is behind this?</h5>
-        <p>Hi, I'm <a href="http://khamidou.com">Karim</a>! 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.</p>
+        <p>Hi, I'm <a href="http://khamidou.com">Karim</a>! 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!</p>
 
         <h5>Special thanks:</h5>
 
 
         <h5>Special thanks:</h5>
 
index f7f728d45685389fe21e630e4eaab44dfe8a3f69..a77f3fea09ed53f45d9e5987ee229beae8a816a4 100644 (file)
@@ -19,7 +19,7 @@
     <tr>
       <td class=docs>
         {{ rfc|safe }}
     <tr>
       <td class=docs>
         {{ rfc|safe }}
-        RFCSpot, Copyright (c) 2016 <a href="http://khamidou.com">Karim Hamidou</a>.
+        <p>RFCSpot, Copyright {{ date.year }} <a href="http://khamidou.com">Karim Hamidou</a>.</p>
       </td>
       <td class=code>
         <div class='highlight'>
       </td>
       <td class=code>
         <div class='highlight'>