portails/layouts/shortcodes/btn-copy.html

5 lines
237 B
HTML
Raw Normal View History

2021-03-15 18:55:49 +01:00
{{ if .Site.Params.options.clipBoard -}}
<div class="doks-clipboard">
<button class="btn-clipboard btn btn-outline-primary" data-clipboard-text="{{ .Get "text" | safeHTML }}"><span class="copy-status"></span></button>
</div>
{{ end -}}