From 6474b9dfd8a5164a191b8aa8f33900e79a2ef0c6 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Sun, 23 Jan 2022 12:59:21 +0000 Subject: [PATCH] fix(comments): fix cactus comments closes https://github.com/CaiJimmy/hugo-theme-stack/issues/470 --- data/external.yaml | 3 +-- layouts/partials/comments/provider/cactus.html | 2 +- layouts/partials/helper/external.html | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/data/external.yaml b/data/external.yaml index 4b2713f..fd2b665 100644 --- a/data/external.yaml +++ b/data/external.yaml @@ -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 \ No newline at end of file + type: style diff --git a/layouts/partials/comments/provider/cactus.html b/layouts/partials/comments/provider/cactus.html index 8224c8b..ae172d3 100644 --- a/layouts/partials/comments/provider/cactus.html +++ b/layouts/partials/comments/provider/cactus.html @@ -1,5 +1,5 @@ {{- with .Site.Params.comments.cactus -}} -{{- partial "helper/external" (dict "Context" . "Namespace" "Cactus") -}} +{{- partial "helper/external" (dict "Context" $ "Namespace" "Cactus") -}}