From 9db2bcabad9d6ec78ebf55a8a43d41f8340d8f71 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 25 Aug 2012 11:30:55 +1200 Subject: [PATCH] Auto-generate download links. --- libpathod/app.py | 2 +- libpathod/templates/download.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libpathod/app.py b/libpathod/app.py index c7d0e7b2a..3e851477b 100644 --- a/libpathod/app.py +++ b/libpathod/app.py @@ -45,7 +45,7 @@ def index(): @app.route('/download') @app.route('/download.html') def download(): - return render("download.html", True, section="download") + return render("download.html", True, section="download", version=version.VERSION) @app.route('/about') diff --git a/libpathod/templates/download.html b/libpathod/templates/download.html index a9b827c4a..e58437e07 100644 --- a/libpathod/templates/download.html +++ b/libpathod/templates/download.html @@ -45,7 +45,7 @@
- pathod-0.2.tar.gz + pathod-{{version}}.tar.gz