portails/layouts/shortcodes/btn-copy.html

5 lines
226 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-link" data-clipboard-text="{{ .Get "text" | safeHTML }}"><span class="copy-status"></span></button>
2021-03-15 18:55:49 +01:00
</div>
{{ end -}}