summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-17 09:10:36 +0100
committerVolpeon <git@volpeon.ink>2021-11-17 09:10:36 +0100
commit3e9ab8693bb5ffb117b883e5aa33d4dcff2a0e71 (patch)
treec2b7637310f0460ea0ba24c9f3b3d824a5900b49
parentNo emojis feed (diff)
downloadvolpeon.ink-3e9ab8693bb5ffb117b883e5aa33d4dcff2a0e71.tar.gz
volpeon.ink-3e9ab8693bb5ffb117b883e5aa33d4dcff2a0e71.tar.bz2
volpeon.ink-3e9ab8693bb5ffb117b883e5aa33d4dcff2a0e71.zip
Move preload stuff to headers
-rw-r--r--Makefile1
-rw-r--r--templates/base.html9
2 files changed, 1 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 55ec938..65ef838 100644
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,6 @@ out/%.html: content/%.md .cache/meta/%.json $(CONTENT_TEMPLATES_SRC) metadata/*.
85 $(GLOBAL_METADATA) \ 85 $(GLOBAL_METADATA) \
86 --metadata-file "$(filter .cache/meta/%.json,$^)" \ 86 --metadata-file "$(filter .cache/meta/%.json,$^)" \
87 --metadata file_out="$@" \ 87 --metadata file_out="$@" \
88 --metadata style_hash="$(shell sha256sum out/style.css | cut -d ' ' -f 1)" \
89 $(PANDOC_FILTERS) \ 88 $(PANDOC_FILTERS) \
90 -o "$@" "$<" 89 -o "$@" "$<"
91 90
diff --git a/templates/base.html b/templates/base.html
index 13cce16..ab050e7 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -35,14 +35,7 @@
35 35
36 <title>$if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$</title> 36 <title>$if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$</title>
37 37
38 <link rel="preload" href="/style.css?$style_hash$" as="style" /> 38 <link rel="stylesheet" href="/style.css" />
39 <link rel="preload" href="/IBMPlexSans-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
40 <link rel="preload" href="/IBMPlexSans-Bold.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
41 <link rel="preload" href="/GaretVariable.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
42 <link rel="preload" href="/iosevka-term-ss09-regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
43 <link rel="preload" href="/iosevka-term-ss09-bold.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
44
45 <link rel="stylesheet" href="/style.css?$style_hash$" />
46</head> 39</head>
47 40
48<body> 41<body>