Skip to content

Commit b73719b

Browse files
committed
Quartz sync: Mar 29, 2025, 5:08 PM
1 parent 7f3d6e1 commit b73719b

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

package-lock.json

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quartz.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const config: QuartzConfig = {
2323
"daily-notes/template.md", ".gitignore"
2424
],
2525
defaultDateType: "published",
26-
generateSocialImages: false,
26+
// generateSocialImages: false,
2727
theme: {
2828
fontOrigin: "googleFonts",
2929
cdnCaching: true,

quartz/components/Head.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ export default (() => {
3131
const socialUrl =
3232
fileData.slug === "404" ? url.toString() : joinSegments(url.toString(), fileData.slug!)
3333

34+
const usesCustomOgImage = ctx.cfg.plugins.emitters.some(
35+
(e) => e.name === CustomOgImagesEmitterName,
36+
)
37+
const ogImageDefaultPath = `https://${cfg.baseUrl}/static/og-image.png`
3438

3539
// Custom
3640
const fontStylePath = joinSegments(baseDir, "static/font/font-style.css")

0 commit comments

Comments
 (0)