mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-27 04:03:48 +01:00
fix(comments): fix cactus comments
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/470
This commit is contained in:
parent
7dc5def217
commit
6474b9dfd8
3 changed files with 3 additions and 4 deletions
|
@ -41,7 +41,6 @@ Cactus:
|
|||
- src: https://latest.cactus.chat/cactus.js
|
||||
integrity:
|
||||
type: script
|
||||
defer: false
|
||||
- src: https://latest.cactus.chat/style.css
|
||||
integrity:
|
||||
type: style
|
||||
type: style
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{- with .Site.Params.comments.cactus -}}
|
||||
{{- partial "helper/external" (dict "Context" . "Namespace" "Cactus") -}}
|
||||
{{- partial "helper/external" (dict "Context" $ "Namespace" "Cactus") -}}
|
||||
|
||||
<style>
|
||||
.cactus-editor-textarea {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
integrity="{{ . }}"
|
||||
{{- end -}}
|
||||
crossorigin="anonymous"
|
||||
defer="{{ default false .defer }}"
|
||||
{{ if .defer }}defer{{ end }}
|
||||
>
|
||||
</script>
|
||||
{{- else if eq .type "style" -}}
|
||||
|
|
Loading…
Reference in a new issue