diff --git a/prosopopee/themes/exposure/templates/menu.html b/prosopopee/themes/exposure/templates/menu.html index 4e35dad..9b37839 100644 --- a/prosopopee/themes/exposure/templates/menu.html +++ b/prosopopee/themes/exposure/templates/menu.html @@ -4,7 +4,8 @@ {% for line in settings.menu %} {% set rowloop = loop %} {% for file_name, menu_name in line.items() %} - {% if file_name.startswith('http') %} + {# We test if it's a URI reference or not #} + {% if ':' in file_name and not file_name.startswith('./') %} {% set file_name = file_name %} {% else %} {% set file_name = "../"+file_name %} diff --git a/prosopopee/themes/light/templates/menu.html b/prosopopee/themes/light/templates/menu.html index cc898e0..f40efd6 100644 --- a/prosopopee/themes/light/templates/menu.html +++ b/prosopopee/themes/light/templates/menu.html @@ -3,7 +3,8 @@