]> jfr.im git - irc/freenode/web-7.0.git/commitdiff
templates/base: more relative urls
authorEd Kellett <redacted>
Tue, 23 Feb 2016 16:56:28 +0000 (16:56 +0000)
committerEd Kellett <redacted>
Tue, 23 Feb 2016 16:56:28 +0000 (16:56 +0000)
templates/base.html

index 2908b7dcff22f9c650d16c122ea427f8933cf9f7..9946019b8df3349cde87cc28e1490071d45b3baa 100644 (file)
@@ -6,7 +6,7 @@
     <meta content="width=device-width, initial-scale=1" name="viewport">
     <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
     <meta content="#fff" name="theme-color">
-    <link rel="icon" href="static/img/logos/coloured-alphabg-sq-120.png">
+    <link rel="icon" href="{{ url_for("static/img/logos/coloured-alphabg-sq-120.png") }}">
     <title>{{ title }}</title>
     <link href="{{ url_for("static/css/open-sans.css") }}" rel="stylesheet">
     <link href="{{ url_for("static/css/style.css") }}" rel="stylesheet">
                     </li>
                     <li>
                         <a href="PIA" target="_blank"><img alt="PIA" height=
-                        "14px" src="static/img/logos/pia-robot-original.svg">
+                        "14px" src="{{ url_for("static/img/logos/pia-robot-original.svg") }}">
                         Private Internet Access</a>
                     </li>
                 </ul>