Add Scroll To Top button
This commit is contained in:
1 parent
cfcfd6cd3e
commit
301efb837f
9 files changed
+90
-12
No files matched your search
@@ -0,0 +1,6 @@
|
||||
{{ if and (.Site.Params.scrollToTop) (.Params.scrolltotop) }}
|
||||
<a href="#" class="scroll-up">{{ partial "svg.html" (dict "context" . "name" "scrollup") }}</a>
|
||||
<noscript>
|
||||
<a href="#" class="scroll-up show">{{ partial "svg.html" (dict "context" . "name" "scrollup") }}</a>
|
||||
</noscript>
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user