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