diff options
author | monkeyWzr <monkeywzr@gmail.com> | 2021-07-05 10:08:31 +0300 |
---|---|---|
committer | monkeyWzr <monkeywzr@gmail.com> | 2021-07-05 10:08:31 +0300 |
commit | a6ec2491417315c1bfeed7578ca04abf13470509 (patch) | |
tree | 71333d3347e713344b5f84504b64e2a417b320bb /layouts | |
parent | 965c5ea600ff956fe8df56b7ee2f4e4562ece0c5 (diff) |
add copy code button
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/posts/single.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index bbf36e5..fb6a6b4 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -85,6 +85,7 @@ <link rel="stylesheet" href={{ "/lib/font-awesome/css/all.min.css" | relURL }}> <script src={{ "/lib/jquery/jquery.min.js" | relURL }}></script> <script src={{ "/js/main.js" | relURL }}></script> +<script src={{ "js/code-copy.js" | relURL }}></script> {{ $mathjax := false }} {{ if isset .Params "mathjax" }} {{ $mathjax = .Params.mathjax }} |