:sparkles:🎉 Add waline3 comment plugin.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{ if .Site.Params.postMeta.views.enable }}
|
||||
{{ $pageViewId := "" }}
|
||||
{{ $pageViewId := "pageview-count" }}
|
||||
{{ if eq .Site.Params.postMeta.views.plugin "leancloud" }}
|
||||
{{ $pageViewId = "leancloud-visitors-count" }}
|
||||
{{ else if eq .Site.Params.postMeta.views.plugin "busuanzi" }}
|
||||
@@ -12,7 +12,7 @@
|
||||
<span class="post-meta-item-text">
|
||||
{{ print (T "PostMeta.views") (T "Symbol.colon") }}
|
||||
</span>
|
||||
<span {{ with $pageViewId }}id="{{ . }}"{{end}} {{ if eq .Site.Params.postMeta.views.plugin "waline" }}class="waline-pageview-count"{{end}} data-path="{{ .RelPermalink | relLangURL }}">
|
||||
<span {{ with $pageViewId }}id="{{ . }}"{{end}} data-path="{{ .RelPermalink | relLangURL }}">
|
||||
<i class="fa fa-sync fa-spin"></i>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user