aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAnthony Wang2024-03-09 15:17:03 -0500
committerAnthony Wang2024-03-09 15:17:03 -0500
commit983f98f2cd729f461ef8fc901519d8091ef3d19b (patch)
treef7d415c48b249de0e1b5bf9881b3f2a49ecacdcb /layouts
parent482f3d1fc4f0057482753fb259f38c9112fdd2d4 (diff)
Revert "Manually apply "Fix JS error when ShowBackToTopButton is false" to overrided post.html template"
This reverts commit 22d34b82a7e85fd928436ef98831e22ad605d4c7.
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 e1b38ce..2f17c68 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -36,6 +36,7 @@
<!-- 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");
@@ -66,7 +67,6 @@
scrollToTop();
}
</script>
- {{ end }}
{{ if .Site.Params.CustomCommentHTML }}
<div id="comments">
{{ .Site.Params.CustomCommentHTML | safeHTML }}