Add Aetheria shunt mark favicon assets
BIN
Aetheria/media/aetheria/broken-star-shunt-mark-pixel-64.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
Aetheria/media/aetheria/broken-star-shunt-mark.png
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
Aetheria/static/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
Aetheria/static/android-chrome-512x512.png
Normal file
|
After Width: | Height: | Size: 347 KiB |
BIN
Aetheria/static/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
Aetheria/static/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 637 B |
BIN
Aetheria/static/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Aetheria/static/icon.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
|
|
@ -1,5 +1,38 @@
|
|||
import { QuartzConfig } from "./quartz/cfg"
|
||||
import * as Plugin from "./quartz/plugins"
|
||||
import { QuartzEmitterPlugin } from "./quartz/plugins/types"
|
||||
import { Fragment, h } from "preact"
|
||||
|
||||
const AetheriaFavicons: QuartzEmitterPlugin = () => ({
|
||||
name: "AetheriaFavicons",
|
||||
async *emit() {},
|
||||
async *partialEmit() {},
|
||||
externalResources: () => ({
|
||||
additionalHead: [
|
||||
() =>
|
||||
h(Fragment, {}, [
|
||||
h("link", { rel: "icon", href: "/favicon.ico", sizes: "any" }),
|
||||
h("link", {
|
||||
rel: "icon",
|
||||
type: "image/png",
|
||||
sizes: "16x16",
|
||||
href: "/static/favicon-16x16.png",
|
||||
}),
|
||||
h("link", {
|
||||
rel: "icon",
|
||||
type: "image/png",
|
||||
sizes: "32x32",
|
||||
href: "/static/favicon-32x32.png",
|
||||
}),
|
||||
h("link", {
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "180x180",
|
||||
href: "/static/apple-touch-icon.png",
|
||||
}),
|
||||
]),
|
||||
],
|
||||
}),
|
||||
})
|
||||
|
||||
/**
|
||||
* Quartz 4 Configuration
|
||||
|
|
@ -103,6 +136,7 @@ const config: QuartzConfig = {
|
|||
Plugin.Assets(),
|
||||
Plugin.Static(),
|
||||
Plugin.Favicon(),
|
||||
AetheriaFavicons(),
|
||||
Plugin.NotFoundPage(),
|
||||
// Comment out CustomOgImages to speed up build time
|
||||
Plugin.CustomOgImages(),
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 4.3 KiB |