diff --git a/layouts/partials/share_icons.html b/layouts/partials/share_icons.html index d1e8dd8..fd59983 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)) | or (cond ($custom) (in $ShareButtons "twitter") (true)) }} + {{- if (or (cond ($custom) (in $ShareButtons "x") (true)) (cond ($custom) (in $ShareButtons "twitter") (true))) }} @@ -68,4 +68,4 @@ {{- end }} -
\ No newline at end of file +