From 4bce77f2c21846baa72161a4a55362c1ed0dd29c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 24 Nov 2021 17:33:54 +0100 Subject: Fix URL for preloaded fonts. --- views/head.pug | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'views') 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 -- cgit v1.2.3