set og image

D David Veksler · 1 year ago dab1b48d972bc906ff2c22a3ce4023b8c43883e0
Parent: b961558ff

2 files changed +2 −2

Diff

diff --git a/images/cheatsheets-og.png b/images/cheatsheets-og.png
new file mode 100644
index 0000000..7fc8333
Binary files /dev/null and b/images/cheatsheets-og.png differ
diff --git a/index.php b/index.php
index 5791faa..1cb670d 100644
--- a/index.php
+++ b/index.php
@@ -158,7 +158,7 @@ try {
     <meta property="og:description" content="A visually rich gallery of useful cheatsheets covering various topics like AI Safety, Bitcoin, Leadership, and more.">
     <meta property="og:type" content="website">
     <meta property="og:url" content="<?php echo htmlspecialchars($baseUrl); ?>">
-    <meta property="og:image" content="<?php echo htmlspecialchars($baseUrl); ?>images/og-gallery-default.png"> <!-- Suggest creating a specific OG image for the gallery -->
+    <meta property="og:image" content="<?php echo htmlspecialchars($baseUrl); ?>images/cheatsheets-og.png"> <!-- Suggest creating a specific OG image for the gallery -->
     <meta property="og:image:alt" content="David Veksler Cheatsheets Gallery">
     <meta property="og:site_name" content="David Veksler's Cheatsheets">
     <meta property="og:locale" content="en_US">
@@ -168,7 +168,7 @@ try {
     <meta name="twitter:title" content="Browse Cheatsheets - DavidVeksler.com">
     <meta name="twitter:description" content="Explore a collection of handy cheatsheets on tech, philosophy, and more in a visual gallery.">
     <meta name="twitter:url" content="<?php echo htmlspecialchars($baseUrl); ?>">
-    <meta name="twitter:image" content="<?php echo htmlspecialchars($baseUrl); ?>images/og-gallery-default.png"> <!-- Use the same default image -->
+    <meta name="twitter:image" content="<?php echo htmlspecialchars($baseUrl); ?>images/cheatsheets-og.png"> <!-- Use the same default image -->
     <meta name="twitter:image:alt" content="David Veksler Cheatsheets Gallery">
 
     <!-- Bootstrap CSS -->