summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html8
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