From 7c1cc3db4217d5422e46700afb29f4906c06c331 Mon Sep 17 00:00:00 2001
From: Keith Simon <41575888+Krakaw@users.noreply.github.com>
Date: Tue, 12 Nov 2024 08:58:58 -0800
Subject: [PATCH] Add og_image override (#256)
Add an og_image field to an update to override the default og preview
image.
---
_includes/head.html | 12 ++++++++++--
_updates/2024-10-14-update-135.md | 1 +
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/_includes/head.html b/_includes/head.html
index 8c70eae..f8d5b0c 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -7,12 +7,20 @@
-
+{% if page.og_image %}
+
+{% else %}
+
+{% endif %}
-
+{% if page.og_image %}
+
+{% else %}
+
+{% endif %}
diff --git a/_updates/2024-10-14-update-135.md b/_updates/2024-10-14-update-135.md
index 5ab80c7..3c037e7 100644
--- a/_updates/2024-10-14-update-135.md
+++ b/_updates/2024-10-14-update-135.md
@@ -6,6 +6,7 @@ author: solivagant
thumbnail: update-background.jpg
title: The Tari Constant
class: subpage
+og_image: "/assets/updates/img/update-background.jpg"
---
Welcome to the next Tari update. Tari Universe, much like its namesake, continues to expand at an astronomical rate, and we have you to thank for it. We’d like to share some stats regarding the known Universe: