Moved ver() into templatevars so only need to change I2P version in one place

This commit is contained in:
str4d
2012-12-20 04:46:37 +00:00
parent 9527fcd19c
commit 3c3b4ed706
3 changed files with 8 additions and 8 deletions

View File

@@ -8,12 +8,6 @@
{%- endif -%}
{%- endmacro -%}
{%- macro ver(string=None) -%}
{%- if string -%}{{ string % '0.9.4' }}
{%- else -%}{{ '0.9.4' }}
{%- endif -%}
{%- endmacro -%}
{%- macro render_pagination(pagination) %}
<div class="pagination">
{%- if pagination.has_prev %}