Commits

masklinn committed a95457d

Fix weird issue with URLs generation for static assets

may be due to using modules in Flask 0.9? Porting to blueprints might be a good idea

Comments (0)

Files changed (1)

sphinxweb/templates/login.html

   <p>
   {%- for name, icon, url in oid_providers %}
   <a href="{{ url }}" class="oid">
-    <img src="{{ url_for('static', filename='oid/' + icon) }}" alt="{{ name }}" />
+    <img src="{{ url_for('.static', filename='oid/' + icon) }}" alt="{{ name }}" />
   </a>
   {%- endfor %}
   </p>