hermit-V2/layouts/partials/scroll-to-top.html
2023-08-06 18:46:12 +05:30

6 lines
No EOL
295 B
HTML

{{ 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 }}