Added a ver() macro to make changing the I2P version across the site easier

This commit is contained in:
str4d
2012-12-13 21:36:49 +00:00
parent 00700e66cf
commit 0ebefb6156
5 changed files with 21 additions and 16 deletions

View File

@@ -4,7 +4,7 @@
<div class="main">
<h1>{% trans %}What does I2P do for you?{% endtrans %}</h1>
<p>{% trans %}The I2P network provides strong privacy protections for communication over the Internet. Many activities that would risk your privacy on the public Internet can be conducted anonymously on I2P.{% endtrans %}</p>
<a class="get-i2p" href="{{ url_for('downloads_list', lang=g.lang) }}">{% trans version='0.9.3' %}Get I2P {{ version }}{% endtrans %}</a>
<a class="get-i2p" href="{{ url_for('downloads_list', lang=g.lang) }}">{% trans version=ver() %}Get I2P {{ version }}{% endtrans %}</a>
</div>
<div class="aside-wrap">
<div class="aside">