From 2acfa0fa238f193332db4605a5f1ce666334717b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 06 Mar 2025 01:13:19 +0000
Subject: [PATCH] fix(og-image): overflow ellipses in title and description

---
 quartz/components/Head.tsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/quartz/components/Head.tsx b/quartz/components/Head.tsx
index a8e4974..983dc50 100644
--- a/quartz/components/Head.tsx
+++ b/quartz/components/Head.tsx
@@ -98,7 +98,7 @@
 
       if (fileName) {
         // Generate social image (happens async)
-        generateSocialImage(
+        void generateSocialImage(
           {
             title,
             description,
@@ -165,6 +165,7 @@
             <link rel="stylesheet" href={googleFontHref(cfg.theme)} />
           </>
         )}
+        <link rel="preconnect" href="https://cdnjs.cloudflare.com" crossOrigin={"anonymous"} />
         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
         {/* OG/Twitter meta tags */}
         <meta name="og:site_name" content={cfg.pageTitle}></meta>

--
Gitblit v1.10.0