summaryrefslogtreecommitdiff
path: root/views/head.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-11-24 17:33:54 +0100
committerTor Andersson <tor@ccxvii.net>2021-11-24 17:33:54 +0100
commit4bce77f2c21846baa72161a4a55362c1ed0dd29c (patch)
tree0f168b5133f05568942be187ee1c2d38e9c04535 /views/head.pug
parent0430ba560426ba3e53ab8442323924b158e3d6f3 (diff)
downloadserver-4bce77f2c21846baa72161a4a55362c1ed0dd29c.tar.gz
Fix URL for preloaded fonts.
Diffstat (limited to 'views/head.pug')
-rw-r--r--views/head.pug12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/head.pug b/views/head.pug
index 0af064c..0fb6c0d 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -5,12 +5,12 @@ link(rel="icon" type="image/svg+xml" href="/favicon.svg")
link(rel="stylesheet" href="/fonts/fonts.css")
link(rel="stylesheet" href="/style.css")
-link(rel="preload" as="font" type="font/woff2" crossorigin href="fonts/SourceSerif4-Regular.woff2")
-link(rel="preload" as="font" type="font/woff2" crossorigin href="fonts/SourceSerif4-Semibold.woff2")
-link(rel="preload" as="font" type="font/woff2" crossorigin href="fonts/SourceSerif4-It.woff2")
-link(rel="preload" as="font" type="font/woff2" crossorigin href="fonts/SourceSans3-Regular.woff2")
-link(rel="preload" as="font" type="font/woff2" crossorigin href="fonts/Dingbats.woff2")
-link(rel="preload" as="font" type="font/woff2" crossorigin href="fonts/NotoEmoji.woff2")
+link(rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/SourceSerif4-Regular.woff2")
+link(rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/SourceSerif4-Semibold.woff2")
+link(rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/SourceSerif4-It.woff2")
+link(rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/SourceSans3-Regular.woff2")
+link(rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/Dingbats.woff2")
+link(rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/NotoEmoji.woff2")
mixin forumpost(row,show_buttons)
.post