mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-06-29 08:10:41 +00:00
Add copy button to all codeblocks
This commit is contained in:
parent
f89455e6fd
commit
7fc9d978dd
3 changed files with 104 additions and 0 deletions
12
layouts/posts/single.html
Normal file
12
layouts/posts/single.html
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue