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,15 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.replybox" }}
<section class="mb-3">
<div id="replybox"></div>
<script>
window.replybox = {
site: "{{ $page.Param "paige.comments.replybox.account_id" | safeJS }}",
identifier: "{{ $page.RelPermalink | safeJS }}"
};
</script>
<script src="https://cdn.getreplybox.com/js/embed.js"></script>
<noscript>{{ i18n "paige_noscript" }}</noscript>
</section>
{{ end }}