From 5ede34df2cde854954b9af17e0bb5d41ccff237f Mon Sep 17 00:00:00 2001 From: willstocks <43744514+willstocks@users.noreply.github.com> Date: Wed, 18 Mar 2020 11:24:24 +0000 Subject: [PATCH] Only use isset check for twitter:site param See https://gohugo.io/functions/isset/ - consistent with all other param checks in file --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ca6f354..0edf28a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -28,7 +28,7 @@ -{{ if (isset $.Site.Params.Twitter "site") or (eq $.Site.Params.Twitter.site "") }} +{{ if (isset $.Site.Params.Twitter "site") }} {{ end }}