Pārlūkot izejas kodu

absolute-ize paths in header

George Baugh 2 gadi atpakaļ
vecāks
revīzija
bfa03866da
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  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" />
 
         <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" />
 
         : if ($author) {