diff --git a/quartz/util/socialImage.tsx b/quartz/util/socialImage.tsx index 81a5e3182..9ff1d7e17 100644 --- a/quartz/util/socialImage.tsx +++ b/quartz/util/socialImage.tsx @@ -2,6 +2,7 @@ import { SatoriOptions } from "satori/wasm" import { GlobalConfiguration } from "../cfg" import { SocialImageOptions, UserOpts } from "./imageHelper" import { QuartzPluginData } from "../plugins/vfile" +import { FullSlug, pathToRoot, joinSegments } from "./path" // This file contains the template of the default social image. @@ -18,6 +19,9 @@ export const defaultImage: SocialImageOptions["imageStructure"] = ( const useSmallerFont = title.length > fontBreakPoint const { colorScheme } = userOpts + + // Setup to access image + const iconPath = `https://${cfg.baseUrl}/static/icon.png` return (
-

- {title} -

+ +

+ {title} +

+