diff --git a/i2p2www/pages/downloads/list.html b/i2p2www/pages/downloads/list.html index 18603899..d5fb82d3 100644 --- a/i2p2www/pages/downloads/list.html +++ b/i2p2www/pages/downloads/list.html @@ -14,39 +14,39 @@ or type java -version at your command prompt.

Clean installs

@@ -119,10 +119,10 @@ receive the release.

Updates from earlier releases (manual method):

    -
  1. Download i2pupdate_0.9.3.zip +
  2. Download i2pupdate_{{ ver() }}.zip (SHA256 2381e4a845c6cc0c0d9f27f99571984bcbf448ef041bc1f7a2ba8715228d6377 - sig) to your I2P + sig) to your I2P installation directory and rename as i2pupdate.zip. (alternately, you can get the source as above and run "ant updater", then copy the resulting i2pupdate.zip to your I2P installation directory). You do diff --git a/i2p2www/pages/global/layout.html b/i2p2www/pages/global/layout.html index 9b792ce7..add24279 100644 --- a/i2p2www/pages/global/layout.html +++ b/i2p2www/pages/global/layout.html @@ -1,4 +1,4 @@ -{%- from "global/macros" import site_url, change_lang with context -%} +{%- from "global/macros" import site_url, change_lang, ver with context -%} diff --git a/i2p2www/pages/global/macros b/i2p2www/pages/global/macros index 0a7e6042..8fd460a6 100644 --- a/i2p2www/pages/global/macros +++ b/i2p2www/pages/global/macros @@ -12,3 +12,8 @@ {%- else -%}{{ url_for('site_show', lang=lang) }} {%- endif -%} {%- endmacro -%} +{%- macro ver(string=None) -%} +{%- if string -%}{{ string % '0.9.3' }} +{%- else -%}{{ '0.9.3' }} +{%- endif -%} +{%- endmacro -%} diff --git a/i2p2www/pages/global/nav.html b/i2p2www/pages/global/nav.html index e34aa0bd..b231cabc 100644 --- a/i2p2www/pages/global/nav.html +++ b/i2p2www/pages/global/nav.html @@ -3,10 +3,10 @@
  3. {{ _('Download') }}
  4. {{ _('About') }} diff --git a/i2p2www/pages/site/index.html b/i2p2www/pages/site/index.html index 20b8d885..7f51efdc 100644 --- a/i2p2www/pages/site/index.html +++ b/i2p2www/pages/site/index.html @@ -4,7 +4,7 @@

    {% trans %}What does I2P do for you?{% endtrans %}

    {% 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 %}

    - {% trans version='0.9.3' %}Get I2P {{ version }}{% endtrans %} + {% trans version=ver() %}Get I2P {{ version }}{% endtrans %}