Use with action in comments

This commit is contained in:
Will Faught
2024-07-20 12:11:32 -07:00
parent 2e08775930
commit 788bb284bd
6 changed files with 13 additions and 13 deletions

View File

@@ -1,11 +1,11 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.replybox" }}
{{ with $page.Param "paige.comments.replybox" }}
<div class="mb-3" id="paige-comments">
<div id="replybox"></div>
<script>
window.replybox = {
site: "{{ $page.Param "paige.comments.replybox.account_id" | safeJS }}",
site: "{{ .account_id | safeJS }}",
identifier: "{{ $page.RelPermalink | safeJS }}"
};
</script>