From 970e41e4e48530f03bfaa8412460250cd8af6c79 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 7 Oct 2023 15:59:45 -0700 Subject: [PATCH] Hardcoding img paths for twitter and meta --- main-site/themes/temper/layouts/partials/head.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/main-site/themes/temper/layouts/partials/head.html b/main-site/themes/temper/layouts/partials/head.html index cd79548..e74a795 100644 --- a/main-site/themes/temper/layouts/partials/head.html +++ b/main-site/themes/temper/layouts/partials/head.html @@ -16,9 +16,10 @@ {{ if .Params.Thumbnail }} - + {{ else }} - + {{- /* Hard coding this because baseURL is super delicate */ -}} + {{ end }} {{- /* Twitter meta tags */ -}} @@ -26,9 +27,10 @@ {{ if .Params.Thumbnail }} - + {{- /* Hard coding this because baseURL is super delicate */ -}} + {{ else }} - + {{ end }} {{- /* Requirements special to twitter, just don't touch these tbh */ -}} {{- /* https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/summary-card-with-large-image */ -}}