Add #paige-comments

master
Will Faught 2 years ago
parent 1074859c63
commit 3edc4d007f

@ -775,6 +775,8 @@ Use these CSS selectors to extend the default styling:
<dd>The page table of contents.</dd> <dd>The page table of contents.</dd>
<dt><code>.paige-unpublished</code></dt> <dt><code>.paige-unpublished</code></dt>
<dd>Applied to the title of unpublished (draft, expired, future) pages in the list and term layouts.</dd> <dd>Applied to the title of unpublished (draft, expired, future) pages in the list and term layouts.</dd>
<dt><code>#paige-comments</code></dt>
<dd>The comments below the article.</dd>
<dt><code>#paige-copyright</code></dt> <dt><code>#paige-copyright</code></dt>
<dd>The copyright in the footer.</dd> <dd>The copyright in the footer.</dd>
<dt><code>#paige-credit</code></dt> <dt><code>#paige-credit</code></dt>

@ -1,7 +1,7 @@
{{ $page := . }} {{ $page := . }}
{{ if $page.Param "paige.comments.cactus" }} {{ if $page.Param "paige.comments.cactus" }}
<div class="mb-3"> <div class="mb-3" id="paige-comments">
<script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script> <script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script>
<link rel="stylesheet" href="https://latest.cactus.chat/style.css" type="text/css"> <link rel="stylesheet" href="https://latest.cactus.chat/style.css" type="text/css">
<div id="comment-section"></div> <div id="comment-section"></div>

@ -1,7 +1,7 @@
{{ $page := . }} {{ $page := . }}
{{ with $page.Param "paige.comments.commento" }} {{ with $page.Param "paige.comments.commento" }}
<div class="mb-3"> <div class="mb-3" id="paige-comments">
<div id="commento"></div> <div id="commento"></div>
<script defer src="{{ .script_url }}"></script> <script defer src="{{ .script_url }}"></script>
<noscript>{{ i18n "paige_noscript" }}</noscript> <noscript>{{ i18n "paige_noscript" }}</noscript>

@ -1,7 +1,7 @@
{{ $page := . }} {{ $page := . }}
{{ if $page.Param "paige.comments.graphcomment" }} {{ if $page.Param "paige.comments.graphcomment" }}
<div class="mb-3"> <div class="mb-3" id="paige-comments">
<div id="graphcomment"></div> <div id="graphcomment"></div>
<script type="text/javascript"> <script type="text/javascript">
var __semio__params = { var __semio__params = {

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

@ -1,7 +1,7 @@
{{ $page := . }} {{ $page := . }}
{{ if $page.Param "paige.comments.intensedebate" }} {{ if $page.Param "paige.comments.intensedebate" }}
<div class="mb-3"> <div class="mb-3" id="paige-comments">
<script> <script>
var idcomments_acct = "{{ $page.Param "paige.comments.intensedebate.account_id" | safeJS }}"; var idcomments_acct = "{{ $page.Param "paige.comments.intensedebate.account_id" | safeJS }}";
var idcomments_post_id = "{{ $page.RelPermalink | safeJS }}"; var idcomments_post_id = "{{ $page.RelPermalink | safeJS }}";

@ -1,7 +1,7 @@
{{ $page := . }} {{ $page := . }}
{{ with $page.Param "paige.comments.isso" }} {{ with $page.Param "paige.comments.isso" }}
<div class="mb-3"> <div class="mb-3" id="paige-comments">
<script src="{{ .script_url }}"></script> <script src="{{ .script_url }}"></script>
<div id="isso-thread"> <div id="isso-thread">
<noscript>{{ i18n "paige_noscript" }}</noscript> <noscript>{{ i18n "paige_noscript" }}</noscript>

@ -1,7 +1,7 @@
{{ $page := . }} {{ $page := . }}
{{ with $page.Param "paige.comments.muut" }} {{ with $page.Param "paige.comments.muut" }}
<div class="mb-3"> <div class="mb-3" id="paige-comments">
<a href="https://muut.com/i/{{ .account_id }}/comments" class="muut" type="dynamic">Comments</a> <a href="https://muut.com/i/{{ .account_id }}/comments" class="muut" type="dynamic">Comments</a>
<script src="https://cdn.muut.com/1/moot.min.js"></script> <script src="https://cdn.muut.com/1/moot.min.js"></script>
<noscript>{{ i18n "paige_noscript" }}</noscript> <noscript>{{ i18n "paige_noscript" }}</noscript>

@ -1,7 +1,7 @@
{{ $page := . }} {{ $page := . }}
{{ if $page.Param "paige.comments.remark42" }} {{ if $page.Param "paige.comments.remark42" }}
<div class="mb-3"> <div class="mb-3" id="paige-comments">
<div id="remark42"></div> <div id="remark42"></div>
<script> <script>
var remark_config = { var remark_config = {

@ -1,7 +1,7 @@
{{ $page := . }} {{ $page := . }}
{{ if $page.Param "paige.comments.replybox" }} {{ if $page.Param "paige.comments.replybox" }}
<div class="mb-3"> <div class="mb-3" id="paige-comments">
<div id="replybox"></div> <div id="replybox"></div>
<script> <script>
window.replybox = { window.replybox = {

@ -1,7 +1,7 @@
{{ $page := . }} {{ $page := . }}
{{ with $page.Param "paige.comments.utterances" }} {{ with $page.Param "paige.comments.utterances" }}
<div class="mb-3"> <div class="mb-3" id="paige-comments">
<script src="https://utteranc.es/client.js" repo="{{ .github_repo }}" issue-term="pathname" theme="preferred-color-scheme" crossorigin="anonymous" async></script> <script src="https://utteranc.es/client.js" repo="{{ .github_repo }}" issue-term="pathname" theme="preferred-color-scheme" crossorigin="anonymous" async></script>
<noscript>{{ i18n "paige_noscript" }}</noscript> <noscript>{{ i18n "paige_noscript" }}</noscript>
</div> </div>

Loading…
Cancel
Save