diff options
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | templates/base.html | 9 |
2 files changed, 1 insertions, 9 deletions
| @@ -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> |
