From 0b916ebbb1c72a51a54d6cc7ba565ddce5ce419e Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 25 Jul 2012 11:55:44 +1200 Subject: Add a basic about page. --- libpathod/app.py | 6 ++++++ libpathod/templates/about.html | 24 ++++++++++++++++++++++++ libpathod/templates/frame.html | 1 + 3 files changed, 31 insertions(+) create mode 100644 libpathod/templates/about.html diff --git a/libpathod/app.py b/libpathod/app.py index e93a898f..0b123e94 100644 --- a/libpathod/app.py +++ b/libpathod/app.py @@ -37,6 +37,12 @@ def render(s, **kwargs): @app.route('/index.html') def index(): return render("index.html", section="main") + j + +@app.route('/about') +@app.route('/about.html') +def about(): + return render("about.html", section="about") @app.route('/docs/pathod') diff --git a/libpathod/templates/about.html b/libpathod/templates/about.html new file mode 100644 index 00000000..d440c437 --- /dev/null +++ b/libpathod/templates/about.html @@ -0,0 +1,24 @@ +{% extends "frame.html" %} +{% block body %} + + + +

git clone git://github.com/cortesi/pathod.git

+ +

Please use the github +issue tracker to report bugs.

+ + + + +

pathod is developed by Aldo Cortesi. Email me +at aldo@corte.si with feedback or suggestions. If you like pathod, you should +follow me on twitter and subscribe to my blog.

+ + +{% endblock %} diff --git a/libpathod/templates/frame.html b/libpathod/templates/frame.html index d91004e4..9f6c3574 100644 --- a/libpathod/templates/frame.html +++ b/libpathod/templates/frame.html @@ -53,6 +53,7 @@
  • libpathod.test
  • +
  • about
  • -- cgit v1.2.3