diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-20 22:17:46 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-20 22:17:46 +0200 |
| commit | 04c1fc95723af91afd38f98792ed31a7f0c51f61 (patch) | |
| tree | b5b7688ebfd1936d6e596ea9db7c5cbf6c2ca717 | |
| parent | 0c913de7479f998c1c897bddb23e08689408de2a (diff) | |
| download | danixxyz-04c1fc95723af91afd38f98792ed31a7f0c51f61.tar.gz danixxyz-04c1fc95723af91afd38f98792ed31a7f0c51f61.zip | |
feat: include back-to-top button on single pages
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/_default/baseof.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/_default/baseof.html b/themes/danix-xyz-hacker/layouts/_default/baseof.html index 72aefba..c22e990 100644 --- a/themes/danix-xyz-hacker/layouts/_default/baseof.html +++ b/themes/danix-xyz-hacker/layouts/_default/baseof.html @@ -31,6 +31,7 @@ class="fixed top-0 left-0 h-1 transition-all duration-100" style="width: 0%; background: linear-gradient(to right, var(--accent), var(--accent2)); z-index: 9999;" ></div> + {{ partial "back-to-top.html" . }} {{ end }} <!-- Skip to main content link --> <a href="#main" class="sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:bg-accent focus:text-white focus:rounded"> |
