We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c3693 commit 3bb96c5Copy full SHA for 3bb96c5
data/structures/sharing.yml
@@ -7,3 +7,9 @@ arguments:
7
optional: false
8
comment: Context of the current page.
9
group: partial
10
+ show-label:
11
+ type: bool
12
+ optional: true
13
+ default: true
14
+ comment: Indicates if the element should include a label.
15
+ release: v1.15.3
layouts/_partials/assets/sharing.html
@@ -45,7 +45,7 @@
45
{{- end -}}
46
47
<div class="py-3 text-body-secondary hstack gap-1">
48
- {{ T "shareLink" " " }}
+ {{ if $args.showLabel }}{{ T "shareLink" " " }}{{ end }}
49
{{- range $index, $item := $list -}}
50
{{- $url := $item.url -}}
51
{{- $url = replace $url "{url}" $page.Permalink -}}
0 commit comments