From 6720168dd507dfaf58629718ef6bc7b7073699b2 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 3 May 2021 23:52:00 +0200 Subject: #281, Copy code block content on click --- layouts/partials/docs/footer.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'layouts/partials/docs/footer.html') diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html index 7f1a08a..6e1a694 100644 --- a/layouts/partials/docs/footer.html +++ b/layouts/partials/docs/footer.html @@ -23,3 +23,8 @@ {{ end }} + +{{ $script := resources.Get "clipboard.js" | resources.Minify }} +{{ with $script.Content }} + +{{ end }} -- cgit v1.2.3