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

comments.html « partials « layouts - github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ad1a43ea5ff199f5e3c5250e91da32ccbc6e9ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{{ if and .IsPage (ne .Params.comment false) }}

  <!-- Commento -->
  {{- if .Site.Params.commento.enable -}}
    {{ partial "comments/commento.html" . }}
  {{- end }}

  <!-- utteranc -->
  {{ if .Site.Params.utteranc.enable }}
    {{ partial "comments/utteranc.html" . }}
  {{ end }}

  <!-- changyan -->
  {{- if and .Site.Params.changyanAppid .Site.Params.changyanAppkey -}}
    {{ partial "comments/changyan.html" . }}
  {{- end }}

  <!-- Disqus -->
  {{- if .Site.DisqusShortname -}}
    {{ partial "comments/disqus.html" . }}
  {{- end }}

    <!-- LiveRe -->
  {{- if .Site.Params.livere.uid -}}
    {{ partial "comments/livere.html" . }}
  {{- end }}

  <!-- valine -->
  {{- if .Site.Params.valine.enable -}}
    {{ partial "comments/valine.html" . }}
  {{- end }}

  <!-- Remark42 -->
  {{- if .Site.Params.remark42Url -}}
  <div id="remark42"></div>
  {{- end }}

{{- end }}