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

github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/comments/comments.html')
-rw-r--r--layouts/partials/comments/comments.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/partials/comments/comments.html b/layouts/partials/comments/comments.html
new file mode 100644
index 0000000..2c2b078
--- /dev/null
+++ b/layouts/partials/comments/comments.html
@@ -0,0 +1,21 @@
+{{ if $.Param "enableComment" }}
+ {{ if $.Param "disqus_shortname" }}
+ {{ partial "comments/disqus.html" . }}
+ {{ else if $.Param "commento" }}
+ {{ partial "comments/commento.html" . }}
+ {{ else if $.Param "valine.enable" }}
+ {{ partial "comments/valine.html" . }}
+ {{ else if $.Param "changyan.changyanAppid" }}
+ {{ partial "comments/changyan.html" . }}
+ {{ else if $.Param "livere.livereUID" }}
+ {{ partial "comments/livere.html" . }}
+ {{ else if $.Param "gitment.owner" }}
+ {{ partial "comments/gitment.html" . }}
+ {{ else if $.Param "gitalk.owner" }}
+ {{ partial "comments/gitalk.html" . }}
+ {{ else if $.Param "utterances.owner" }}
+ {{ partial "comments/utterances.html" . }}
+ {{ else if $.Param "isso.enable" }}
+ {{ partial "comments/isso.html" . }}
+ {{ end }}
+{{ end }} \ No newline at end of file