Add Aetheria shunt mark favicon assets

This commit is contained in:
Meta Vens 2026-05-01 17:11:49 +01:00
commit 357675e2cc
10 changed files with 34 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
Aetheria/static/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -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(),

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Before After
Before After