aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAnthony Wang2024-02-14 01:33:09 -0500
committerAnthony Wang2024-02-14 01:33:09 -0500
commit22d34b82a7e85fd928436ef98831e22ad605d4c7 (patch)
treef2423ffde8c6090b49357a090062c330ec3fb769 /layouts
parent45c22b5d9ce704c1195ad1636a2a3a9e74652731 (diff)
Manually apply "Fix JS error when ShowBackToTopButton is false" to overrided post.html template
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post.html b/layouts/partials/post.html
index 2f17c68..e1b38ce 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -36,7 +36,6 @@
<!-- Your arrow SVG path or elements go here -->
<path d="M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"/>
</svg>
- {{ end }}
<script>
let backToTopButton = document.getElementById("btt-button");
@@ -67,6 +66,7 @@
scrollToTop();
}
</script>
+ {{ end }}
{{ if .Site.Params.CustomCommentHTML }}
<div id="comments">
{{ .Site.Params.CustomCommentHTML | safeHTML }}