We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c20301 commit c82cdcdCopy full SHA for c82cdcd
layouts/partials/share_icons.html
@@ -14,7 +14,7 @@
14
{{- with $ShareButtons }}{{ $custom = true }}{{ end }}
15
16
<div class="share-buttons">
17
- {{- if (cond ($custom) (in $ShareButtons "x") (true)) }}
+ {{- if (cond ($custom) (in $ShareButtons "x") (true)) | or (cond ($custom) (in $ShareButtons "twitter") (true)) }}
18
<a target="_blank" rel="noopener noreferrer" aria-label="share {{ $title | plainify }} on x"
19
href="https://x.com/intent/tweet/?text={{ $title }}&url={{ $pageurl }}&hashtags={{- $.Scratch.Get "tags" -}}">
20
<svg version="1.1" viewBox="0 0 512 512" xml:space="preserve" height="30px" width="30px" fill="currentColor">
0 commit comments