From 7dc5def2175fbd5021f0109af25202fbb7567757 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 23 Jan 2022 13:10:00 +0100 Subject: feat(comments): add https://cactus.chat support (#298) * feat: Add https://cactus.chat as comments provider * Add cactus comments config fields to exampleSite * Add cactus css and js to external.yaml and move custom cactus css to html * Remove unneeded cactus comments css * Load external dependencies for cactus comments in the comments provider * Use safeJS instead of safeHTML --- layouts/partials/comments/provider/cactus.html | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 layouts/partials/comments/provider/cactus.html (limited to 'layouts') diff --git a/layouts/partials/comments/provider/cactus.html b/layouts/partials/comments/provider/cactus.html new file mode 100644 index 0000000..8224c8b --- /dev/null +++ b/layouts/partials/comments/provider/cactus.html @@ -0,0 +1,29 @@ +{{- with .Site.Params.comments.cactus -}} +{{- partial "helper/external" (dict "Context" . "Namespace" "Cactus") -}} + + + +
+ + +{{- end -}} -- cgit v1.2.3