From 679b6c9d86f9374f794d8051c18a6eac844ef27b Mon Sep 17 00:00:00 2001 From: str4d Date: Thu, 9 Jan 2014 16:02:08 +0000 Subject: [PATCH] Fixed bug with 404 page for static files --- i2p2www/pages/global/macros | 1 + 1 file changed, 1 insertion(+) diff --git a/i2p2www/pages/global/macros b/i2p2www/pages/global/macros index 89a748f1..a0f55411 100644 --- a/i2p2www/pages/global/macros +++ b/i2p2www/pages/global/macros @@ -9,6 +9,7 @@ {%- elif request.endpoint == 'downloads_debian' -%}{{ url_for('downloads_debian', lang=lang) }} {%- elif request.endpoint == 'downloads_select' -%}{{ url_for('downloads_select', lang=lang, version=version, file=file) }} {%- elif request.endpoint == 'downloads_redirect' -%}{{ url_for('site_show', lang=lang) }} +{%- elif request.endpoint == 'static' -%}{{ url_for('static', filename=filename) }} {%- elif request.endpoint -%}{{ url_for(request.endpoint, lang=lang) }} {%- else -%}{{ url_for('site_show', lang=lang) }} {%- endif -%}