hugo-geekblog/layouts/partials/foot.html

9 lines
276 B
HTML
Raw Normal View History

2020-07-06 18:55:32 +00:00
{{ 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 }}