From 239d68f94c6250276850fbe95eaa6cdd5c38fb26 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sat, 16 Nov 2024 19:32:18 +0300 Subject: Своя тема, полностью всё переделал MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../layouts/partials/comments/include.html | 3 -- .../partials/comments/provider/beaudar.html | 46 ---------------- .../layouts/partials/comments/provider/cactus.html | 29 ---------- .../layouts/partials/comments/provider/cusdis.html | 21 -------- .../layouts/partials/comments/provider/disqus.html | 22 -------- .../partials/comments/provider/disqusjs.html | 61 ---------------------- .../layouts/partials/comments/provider/giscus.html | 52 ------------------ .../layouts/partials/comments/provider/gitalk.html | 31 ----------- .../partials/comments/provider/remark42.html | 29 ---------- .../layouts/partials/comments/provider/twikoo.html | 58 -------------------- .../partials/comments/provider/utterances.html | 46 ---------------- .../layouts/partials/comments/provider/vssue.html | 27 ---------- .../layouts/partials/comments/provider/waline.html | 34 ------------ 13 files changed, 459 deletions(-) delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/include.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/beaudar.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/cactus.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/cusdis.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/disqus.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/disqusjs.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/giscus.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/gitalk.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/remark42.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/utterances.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/vssue.html delete mode 100644 themes/hugo-theme-stack/layouts/partials/comments/provider/waline.html (limited to 'themes/hugo-theme-stack/layouts/partials/comments') diff --git a/themes/hugo-theme-stack/layouts/partials/comments/include.html b/themes/hugo-theme-stack/layouts/partials/comments/include.html deleted file mode 100644 index a3d0618..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/include.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ if .Site.Params.comments.enabled }} - {{ partial (printf "comments/provider/%s" .Site.Params.comments.provider) . }} -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/beaudar.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/beaudar.html deleted file mode 100644 index 761801f..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/beaudar.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/cactus.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/cactus.html deleted file mode 100644 index ae172d3..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/cactus.html +++ /dev/null @@ -1,29 +0,0 @@ -{{- with .Site.Params.comments.cactus -}} -{{- partial "helper/external" (dict "Context" $ "Namespace" "Cactus") -}} - - - -
- - -{{- end -}} diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/cusdis.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/cusdis.html deleted file mode 100644 index a89746c..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/cusdis.html +++ /dev/null @@ -1,21 +0,0 @@ -{{- $host := default "https://cusdis.com" .Site.Params.comments.cusdis.host -}} -
- - - diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/disqus.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/disqus.html deleted file mode 100644 index fb17b77..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/disqus.html +++ /dev/null @@ -1,22 +0,0 @@ -
- {{ template "_internal/disqus.html" . }} -
- - - - \ No newline at end of file diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/disqusjs.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/disqusjs.html deleted file mode 100644 index 967c38c..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/disqusjs.html +++ /dev/null @@ -1,61 +0,0 @@ -{{- $pc := .Site.Config.Privacy.Disqus -}} -{{- $disqusjs := .Site.Params.Comments.disqusjs -}} -{{- if and (not $pc.Disable) (and $disqusjs.Shortname $disqusjs.ApiKey) -}} - -{{- $style := resources.Get "scss/partials/comments/disqusjs.scss" | toCSS | minify -}} - - -
-
- - -
-{{- end -}} \ No newline at end of file diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/giscus.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/giscus.html deleted file mode 100644 index 97fbb77..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/giscus.html +++ /dev/null @@ -1,52 +0,0 @@ -{{- with .Site.Params.comments.giscus -}} - - -{{- end -}} diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/gitalk.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/gitalk.html deleted file mode 100644 index 54bfcba..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/gitalk.html +++ /dev/null @@ -1,31 +0,0 @@ -{{- with .Site.Params.comments.gitalk -}} -
- - - - -{{ end }} diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/remark42.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/remark42.html deleted file mode 100644 index 18acf1b..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/remark42.html +++ /dev/null @@ -1,29 +0,0 @@ -{{- with .Site.Params.comments.remark42 -}} -
- -{{- end -}} diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html deleted file mode 100644 index 8c22507..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html +++ /dev/null @@ -1,58 +0,0 @@ - -
- - -{{- with .Site.Params.comments.twikoo -}} - -{{- end -}} diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/utterances.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/utterances.html deleted file mode 100644 index b1e370b..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/utterances.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/vssue.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/vssue.html deleted file mode 100644 index 79ac381..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/vssue.html +++ /dev/null @@ -1,27 +0,0 @@ -{{- with .Site.Params.comments.vssue -}} - - -
- - - - - -{{- end -}} diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/waline.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/waline.html deleted file mode 100644 index 9d1a2a0..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/waline.html +++ /dev/null @@ -1,34 +0,0 @@ - - -
- - -{{- with .Site.Params.comments.waline -}} -{{- $config := dict "el" "#waline" "dark" `html[data-scheme="dark"]` -}} -{{- $replaceKeys := dict "serverurl" "serverURL" "requiredmeta" "requiredMeta" "wordlimit" "wordLimit" "pagesize" "pageSize" "imageuploader" "imageUploader" "texrenderer" "texRenderer" -}} - -{{- range $key, $val := . -}} - {{- if ne $val nil -}} - {{- $replaceKey := index $replaceKeys $key -}} - {{- $k := default $key $replaceKey -}} - - {{- $config = merge $config (dict $k $val) -}} - {{- end -}} -{{- end -}} - - -{{- end -}} -- cgit v1.2.3