Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2020-09-09 01:24:17 +0300
committerJimmy Cai <jimmehcai@gmail.com>2020-09-09 01:24:17 +0300
commit2912b7e2f0bdfd304ad976bf7f770eb8c93bbab3 (patch)
treeafdfc5a1ff431b0cd7976169a0a631cb735b7f4e /layouts/partials
parentf051517f0aa1322e0cdf62a41605f525f1299eb0 (diff)
fix(comments): remove div.comments-container, apply card style depending on comment system
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/comments/include.html4
-rw-r--r--layouts/partials/comments/provider/disqus.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/comments/include.html b/layouts/partials/comments/include.html
index 76bc700..a3d0618 100644
--- a/layouts/partials/comments/include.html
+++ b/layouts/partials/comments/include.html
@@ -1,5 +1,3 @@
{{ if .Site.Params.comments.enabled }}
- <div class="comments-container provider-{{ .Site.Params.comments.provider }}">
- {{ partial (printf "comments/provider/%s" .Site.Params.comments.provider) . }}
- </div>
+ {{ partial (printf "comments/provider/%s" .Site.Params.comments.provider) . }}
{{ end }} \ No newline at end of file
diff --git a/layouts/partials/comments/provider/disqus.html b/layouts/partials/comments/provider/disqus.html
index 393568b..4b11b92 100644
--- a/layouts/partials/comments/provider/disqus.html
+++ b/layouts/partials/comments/provider/disqus.html
@@ -1 +1,3 @@
-{{ template "_internal/disqus.html" . }} \ No newline at end of file
+<div class="disqus-container">
+ {{ template "_internal/disqus.html" . }}
+</div>