From bb1b1f66e1444363cd7cb2f6846179190c990798 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Thu, 06 May 2021 21:56:12 +0000
Subject: [PATCH] add back-to-top button #15
---
layouts/partials/footer.html | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index f4f2f3d..d8c1f21 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -3,6 +3,7 @@
<div class="wrap">
{{- $author := site.Params.author }}
<p>© <span class="year">{{ now.Year }}</span>{{ with $author }} <a href ="{{ .url }}" target="_blank" rel="noopener">{{ .name }}</a>{{ end }}</p>
+ <a href="#pagetop" id="toTop" title={{ T "to_top" }}></a>
</div>
</footer>
{{ end }}
--
Gitblit v1.10.0