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,10 +1,10 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.hyvor" }}
{{ with $page.Param "paige.comments.hyvor" }}
<div class="mb-3" id="paige-comments">
<div id="hyvor-talk-view"></div>
<script type="text/javascript">
var HYVOR_TALK_WEBSITE = "{{ $page.Param "paige.comments.hyvor.account_id" | safeJS }}";
var HYVOR_TALK_WEBSITE = "{{ .account_id | safeJS }}";
var HYVOR_TALK_CONFIG = {
url: false,
id: "{{ $page.RelPermalink | safeJS }}"