added cactus theme files
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<div id="cactus-comments-thread">
|
||||
<script>
|
||||
initComments({
|
||||
node: document.getElementById("cactus-comments-thread"),
|
||||
defaultHomeserverUrl: '{{ default "https://matrix.cactus.chat:8448" .Site.Params.Comments.Cactuscomments.ServerUrl }}',
|
||||
serverName: '{{ default "cactus.chat" .Site.Params.Comments.Cactuscomments.ServerName }}',
|
||||
siteName: "{{ .Site.Params.Comments.Cactuscomments.SiteName }}",
|
||||
commentSectionId: "{{ .RelPermalink }}"
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
@@ -0,0 +1,17 @@
|
||||
<div id="disqus_thread">
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
// Don't ever inject Disqus on localhost--it creates unwanted
|
||||
// discussions from 'localhost:1313' on your Disqus account...
|
||||
// if (window.location.hostname == "localhost")
|
||||
// return;
|
||||
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
var disqus_shortname = '{{ if .Site.DisqusShortname }}{{ .Site.DisqusShortname }}{{ else }}{{ .Site.Title }}{{ end }}';
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||
<a href="https://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
<div id="disquss_thread">
|
||||
<script src="https://utteranc.es/client.js"
|
||||
repo="{{ .Site.Params.Comments.Utterances.Repo }}"
|
||||
issue-term="pathname"
|
||||
label="{{ .Site.Params.Comments.Utterances.Label }}"
|
||||
theme="{{ .Site.Params.Comments.Utterances.Theme }}"
|
||||
crossorigin="anonymous"
|
||||
async>
|
||||
</script>
|
||||
</div>
|
||||
Reference in New Issue
Block a user