mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-02-06 11:53:31 +08: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
@ -41,7 +41,6 @@ Cactus:
|
|||||||
- src: https://latest.cactus.chat/cactus.js
|
- src: https://latest.cactus.chat/cactus.js
|
||||||
integrity:
|
integrity:
|
||||||
type: script
|
type: script
|
||||||
defer: false
|
|
||||||
- src: https://latest.cactus.chat/style.css
|
- src: https://latest.cactus.chat/style.css
|
||||||
integrity:
|
integrity:
|
||||||
type: style
|
type: style
|
@ -1,5 +1,5 @@
|
|||||||
{{- with .Site.Params.comments.cactus -}}
|
{{- with .Site.Params.comments.cactus -}}
|
||||||
{{- partial "helper/external" (dict "Context" . "Namespace" "Cactus") -}}
|
{{- partial "helper/external" (dict "Context" $ "Namespace" "Cactus") -}}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.cactus-editor-textarea {
|
.cactus-editor-textarea {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
integrity="{{ . }}"
|
integrity="{{ . }}"
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
defer="{{ default false .defer }}"
|
{{ if .defer }}defer{{ end }}
|
||||||
>
|
>
|
||||||
</script>
|
</script>
|
||||||
{{- else if eq .type "style" -}}
|
{{- else if eq .type "style" -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user