Add copy button to all codeblocks

This commit is contained in:
ItsDrike 2022-05-14 20:27:10 +02:00
parent f89455e6fd
commit 7fc9d978dd
No known key found for this signature in database
GPG key ID: B014E761034AF742
3 changed files with 104 additions and 0 deletions

12
layouts/posts/single.html Normal file
View file

@ -0,0 +1,12 @@
{{ define "main" }}
<div id="main">
<div class="container">
{{ partial "header_image.html" . }}
{{ partial "content.html" . }}
</div>
</div>
{{ end }}
{{ define "scripts_extra" }}
{{ partial "script.html" "js/code-copy.js" }}
{{ end }}