Browse Source

absolute-ize paths in header

George Baugh 2 years ago
parent
commit
bfa03866da
1 changed files with 5 additions and 5 deletions
  1. 5 5
      www/templates/html/components/header.tx

+ 5 - 5
www/templates/html/components/header.tx

@@ -7,11 +7,11 @@
         <meta charset="utf-8" />
         <meta charset="utf-8" />
 
 
         <link rel="alternate" title="rss" type="application/rss+xml" href="<: $route :>?format=rss" />
         <link rel="alternate" title="rss" type="application/rss+xml" href="<: $route :>?format=rss" />
-        <link rel="icon" type="image/svg+xml" href="<: $theme_dir :>/img/icon/favicon.svg" />
-        <link rel="apple-touch-icon" type="image/png" sizes="167x167" href="<: $theme_dir :>/img/icon/favicon-167.png" />
-        <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="<: $theme_dir :>/img/icon/favicon-180.png" />
-        <link rel="icon" type="image/png" sizes="48x48" href="<: $theme_dir :>/img/icon/favicon-48.png" />
-        <link rel="icon" type="image/png" sizes="192x192" href="<: $theme_dir :>/img/icon/favicon-192.png" />
+        <link rel="icon" type="image/svg+xml" href="/<: $theme_dir :>/img/icon/favicon.svg" />
+        <link rel="apple-touch-icon" type="image/png" sizes="167x167" href="/<: $theme_dir :>/img/icon/favicon-167.png" />
+        <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/<: $theme_dir :>/img/icon/favicon-180.png" />
+        <link rel="icon" type="image/png" sizes="48x48" href="/<: $theme_dir :>/img/icon/favicon-48.png" />
+        <link rel="icon" type="image/png" sizes="192x192" href="/<: $theme_dir :>/img/icon/favicon-192.png" />
         <link rel="manifest" href="/api/webmanifest" />
         <link rel="manifest" href="/api/webmanifest" />
 
 
         : if ($author) {
         : if ($author) {