Revert "Manually apply "Fix JS error when ShowBackToTopButton is false" to overrided post.html template"

This reverts commit 22d34b82a7.
This commit is contained in:
Anthony Wang 2024-03-09 15:17:03 -05:00
parent 482f3d1fc4
commit 983f98f2cd
Signed by: a
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ

View file

@ -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 }}