Replace section tags with div

This commit is contained in:
Will Faught
2023-03-04 13:27:05 -08:00
parent 12a356dd0e
commit 1074859c63
18 changed files with 45 additions and 45 deletions

View File

@@ -1,7 +1,7 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.cactus" }}
<section class="mb-3">
<div class="mb-3">
<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">
<div id="comment-section"></div>
@@ -15,5 +15,5 @@
})
</script>
<noscript>{{ i18n "paige_noscript" }}</noscript>
</section>
</div>
{{ end }}

View File

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

View File

@@ -1,7 +1,7 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.graphcomment" }}
<section class="mb-3">
<div class="mb-3">
<div id="graphcomment"></div>
<script type="text/javascript">
var __semio__params = {
@@ -20,5 +20,5 @@
})();
</script>
<noscript>{{ i18n "paige_noscript" }}</noscript>
</section>
</div>
{{ end }}

View File

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

View File

@@ -1,7 +1,7 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.intensedebate" }}
<section class="mb-3">
<div class="mb-3">
<script>
var idcomments_acct = "{{ $page.Param "paige.comments.intensedebate.account_id" | safeJS }}";
var idcomments_post_id = "{{ $page.RelPermalink | safeJS }}";
@@ -10,5 +10,5 @@
<span id="IDCommentsPostTitle" style="display:none"></span>
<script type="text/javascript" src="http://www.intensedebate.com/js/genericCommentWrapperV2.js"></script>
<noscript>{{ i18n "paige_noscript" }}</noscript>
</section>
</div>
{{ end }}

View File

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

View File

@@ -1,9 +1,9 @@
{{ $page := . }}
{{ with $page.Param "paige.comments.muut" }}
<section class="mb-3">
<div class="mb-3">
<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>
<noscript>{{ i18n "paige_noscript" }}</noscript>
</section>
</div>
{{ end }}

View File

@@ -1,7 +1,7 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.remark42" }}
<section class="mb-3">
<div class="mb-3">
<div id="remark42"></div>
<script>
var remark_config = {
@@ -11,5 +11,5 @@
</script>
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
<noscript>{{ i18n "paige_noscript" }}</noscript>
</section>
</div>
{{ end }}

View File

@@ -1,7 +1,7 @@
{{ $page := . }}
{{ if $page.Param "paige.comments.replybox" }}
<section class="mb-3">
<div class="mb-3">
<div id="replybox"></div>
<script>
window.replybox = {
@@ -11,5 +11,5 @@
</script>
<script src="https://cdn.getreplybox.com/js/embed.js"></script>
<noscript>{{ i18n "paige_noscript" }}</noscript>
</section>
</div>
{{ end }}

View File

@@ -1,8 +1,8 @@
{{ $page := . }}
{{ with $page.Param "paige.comments.utterances" }}
<section class="mb-3">
<div class="mb-3">
<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>
</section>
</div>
{{ end }}