Files
i2p.www/pages/global/urlify
2012-06-03 01:06:09 +00:00

9 lines
236 B
Plaintext

{% macro urlify(url, title, suffix) %}
{% autoescape false %}
{% if static %}
<a href="{{url}}.{{suffix}}">{{title}}</a>
{% else %}
<a href="{{url}}">{{title}}</a>
{% endif %}
{% endautoescape %}
{% endmacro %}