From c82cdcdc2c7403afaa26fc087b92952201e9e052 Mon Sep 17 00:00:00 2001 From: Sebastian Zanoni Date: Mon, 31 Jul 2023 08:19:31 +0200 Subject: [PATCH] Add backwards compatibility for twitter share button --- layouts/partials/share_icons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/share_icons.html b/layouts/partials/share_icons.html index 9f7b60b..d1e8dd8 100644 --- a/layouts/partials/share_icons.html +++ b/layouts/partials/share_icons.html @@ -14,7 +14,7 @@ {{- with $ShareButtons }}{{ $custom = true }}{{ end }}
- {{- if (cond ($custom) (in $ShareButtons "x") (true)) }} + {{- if (cond ($custom) (in $ShareButtons "x") (true)) | or (cond ($custom) (in $ShareButtons "twitter") (true)) }}