aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libpathod/app.py2
-rw-r--r--libpathod/templates/download.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/app.py b/libpathod/app.py
index c7d0e7b2..3e851477 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 a9b827c4..e58437e0 100644
--- a/libpathod/templates/download.html
+++ b/libpathod/templates/download.html
@@ -45,7 +45,7 @@
</div>
<div style="margin-top: 20px; margin-bottom: 20px">
- <a class="btn btn-primary btn-large" href="https://github.com/downloads/cortesi/pathod/pathod-0.2.tar.gz">pathod-0.2.tar.gz</a>
+ <a class="btn btn-primary btn-large" href="https://github.com/downloads/cortesi/pathod/pathod-{{version}}.tar.gz">pathod-{{version}}.tar.gz</a>
</div>
</section>