summary refs log tree commit diff stats
diff options
context:
space:
mode:
authormounderfod <mounderfod@gmail.com>2023-07-22 19:35:18 +0200
committermounderfod <mounderfod@gmail.com>2023-07-22 19:35:18 +0200
commit418f9edb86c9a897c69cbb8f1adfca84a943be4f (patch)
tree086fc0fee709af3fc079e63ea04c1ff32da8fb5a
parenta3ae214aafb478ee8272715c9065cff88f7d5156 (diff)
downloadwebsite-418f9edb86c9a897c69cbb8f1adfca84a943be4f.tar.gz
Fix <meta> tags
-rw-r--r--_layouts/default.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 104c570..3bef749 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -6,7 +6,6 @@
     <meta property="og:url" content="https://mounderfod.online" />
     <meta property="og:type" content="website" />
     <meta property="og:title" content="Home - mounderfod" />
-    <meta property="og:description" content="undefined" />
     <meta
       property="og:image"
       content="https://cdn.discordapp.com/attachments/838048982873538572/1132359972165013534/image.png"
@@ -34,8 +33,16 @@
       name="description"
       content="{{ page.excerpt | strip_html | truncatewords: 50 }}"
     />
+    <meta
+      property="og:description"
+      content="{{ page.excerpt | strip_html | truncatewords: 50 }}"
+    />
     {% else %}
     <meta name="description" content="My little corner of the Internet." />
+    <meta
+      property="og:description"
+      content="My little corner of the Internet."
+    />
     {% endif %}
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <link rel="stylesheet" href="/assets/index.css" />