initial commit
This commit is contained in:
parent
2012aa8834
commit
9ddfa58ace
2289 changed files with 11217 additions and 0 deletions
15
themes/hugo-ficurinia/layouts/partials/cactus_chat.html
Normal file
15
themes/hugo-ficurinia/layouts/partials/cactus_chat.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ if and site.Params.cactusCommentsSiteName (.Params.comments | default true) }}
|
||||
<script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script>
|
||||
|
||||
<div id="ficurinia-cactus-comments"></div>
|
||||
|
||||
<script>
|
||||
initComments({
|
||||
node: document.getElementById("ficurinia-cactus-comments"),
|
||||
defaultHomeserverUrl: '{{ site.Params.cactusCommentsHomeserver | default "https://matrix.cactus.chat:8448" }}',
|
||||
serverName: '{{ site.Params.cactusCommentsServerName | default "cactus.chat" }}',
|
||||
siteName: "{{ site.Params.cactusCommentsSiteName }}",
|
||||
commentSectionId: "{{ .File.UniqueID }}"
|
||||
})
|
||||
</script>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue