From b9cfb8d360d86eabd2438f46cdc5a2ff135364e8 Mon Sep 17 00:00:00 2001
From: willstocks <43744514+willstocks@users.noreply.github.com>
Date: Wed, 18 Mar 2020 11:20:14 +0000
Subject: [PATCH] Tweak twitter card tags to cater for new params
---
layouts/partials/head.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c2a166c..ca6f354 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -28,10 +28,10 @@
-{{ if (isset .Params "twitterSite") or (eq .Params.twitterSite "") }}
-
+{{ if (isset $.Site.Params.Twitter "site") or (eq $.Site.Params.Twitter.site "") }}
+
{{ end }}
-
+