Revert "Manually apply "Fix JS error when ShowBackToTopButton is false" to overrided post.html template"
This reverts commit 22d34b82a7
.
This commit is contained in:
parent
482f3d1fc4
commit
983f98f2cd
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue