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.graphcomment" }}
{{ with $page.Param "paige.comments.graphcomment" }}
<div class="mb-3" id="paige-comments">
<div id="graphcomment"></div>
<script type="text/javascript">
var __semio__params = {
graphcommentId: "{{ $page.Param `paige.comments.graphcomment.account_id` | safeJS }}",
graphcommentId: "{{ .account_id | safeJS }}",
behaviour: {
uid: "{{ $page.RelPermalink | safeJS }}"
}