diff options
Diffstat (limited to 'layouts/partials/scripts.html')
-rw-r--r-- | layouts/partials/scripts.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index c9cfa7e..6d9ecc5 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -2,8 +2,8 @@ {{ $headers := findRE "<h[1-6].*?>(.|\n])+?</h[1-6]>" .Content }} {{ $has_headers := ge (len $headers) 1 }} {{ if and $has_headers (ne .Params.toc false) }} -<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.1.1/tocbot.min.js"></script> -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.1.1/tocbot.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.min.js"></script> +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.css"> <style>.is-active-link::before { background-color: var(--secondary-color); }</style> {{ end }} {{ end }} |