Move comments into separate files
This commit is contained in:
15
layouts/partials/paige/comments/replybox.html
Normal file
15
layouts/partials/paige/comments/replybox.html
Normal 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 }}
|
Reference in New Issue
Block a user