diff options
author | Francesco <tomaselli.fr@gmail.com> | 2024-05-16 16:53:32 +0200 |
---|---|---|
committer | Francesco <tomaselli.fr@gmail.com> | 2024-05-16 16:53:32 +0200 |
commit | f50f69283f03fc30ed3cfc3242aa863bd7083cfc (patch) | |
tree | 40984c5573560033ba6f710fcb96dae7a7a20495 /layouts | |
parent | b13719b39eb8ee379eeed39fa6f4d2ab165f0555 (diff) |
Back to top button
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 59ab477..1526971 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -67,6 +67,14 @@ {{ partial "comments.html" . }} </div> + {{ if not (.Param "hideBackToTop") }} + <div class="back-to-top"> + <a href="#top"> + back to top + </a> + </div> + {{ end }} + </div> {{ end }}
\ No newline at end of file |