mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-22 13:10:40 +00:00
9 lines
300 B
HTML
9 lines
300 B
HTML
{{ if default true .Site.Params.GeekblogAnchorCopy }}
|
|
<script defer src="{{ index .Site.Data.assets "js/clipboard.min.js" | relURL }}"></script>
|
|
<script>
|
|
document.addEventListener("DOMContentLoaded", function(event) {
|
|
var clipboard = new ClipboardJS('.clip');
|
|
});
|
|
</script>
|
|
{{ end }}
|