Move comments into separate files

This commit is contained in:
Will Faught
2023-02-09 21:42:02 -08:00
parent 80d8086145
commit 6da99ac718
11 changed files with 150 additions and 120 deletions

View File

@@ -0,0 +1,16 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.hyvor" }}
<section class="mb-3">
<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_CONFIG = {
url: false,
id: "{{ $page.RelPermalink | safeJS }}"
};
</script>
<script async type="text/javascript" src="//talk.hyvor.com/web-api/embed"></script>
<noscript>{{ i18n "paige_noscript" }}</noscript>
</section>
{{ end }}