Add Scroll To Top button

This commit is contained in:
1bl4z3r 2023-08-06 18:46:12 +05:30
parent cfcfd6cd3e
commit 301efb837f
9 changed files with 90 additions and 12 deletions

View file

@ -30,7 +30,7 @@
{{ block "header" . -}}{{ end -}}
{{ block "main" . -}}{{ end -}}
{{ block "footer" . -}}{{ end }}
{{ partial "scroll-to-top.html" . }}
{{ $main := resources.Get "js/main.js" -}}
{{ if .Site.Params.code_copy_button | default true -}}
{{ $codeCopy := resources.Get "js/code-copy.js" -}}