Use with action in comments
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user