From 6d842eefd0831c89f3be60e85dba91304fd3d00d Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 24 Jul 2022 13:05:46 +0200 Subject: Provide 'Back to top' functionality --- layouts/_default/baseof.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'layouts/_default') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4985ca3..5f095c2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,8 @@ - + {{ partial "head.html" . }} +
{{ if .Params.toc }} {{ partial "sidebar-toc.html" . }} {{ else }} @@ -23,5 +24,14 @@ + + + + {{ i18n "back_to_top" }} + + + + + -- cgit v1.2.3