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,9 +1,9 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.intensedebate" }}
{{ with $page.Param "paige.comments.intensedebate" }}
<div class="mb-3" id="paige-comments">
<script>
var idcomments_acct = "{{ $page.Param "paige.comments.intensedebate.account_id" | safeJS }}";
var idcomments_acct = "{{ .account_id | safeJS }}";
var idcomments_post_id = "{{ $page.RelPermalink | safeJS }}";
var idcomments_post_url = "{{ $page.Permalink | safeJS }}";
</script>