mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 10:56:16 +01:00
commit
78c64cb957
1 changed files with 28 additions and 2 deletions
|
@ -37,5 +37,31 @@
|
||||||
</script>
|
</script>
|
||||||
<noscript>Please enable JavaScript to view the <a href="https://github.com/gitalk/gitalk">comments powered by gitalk.</a></noscript>
|
<noscript>Please enable JavaScript to view the <a href="https://github.com/gitalk/gitalk">comments powered by gitalk.</a></noscript>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
<!-- valine -->
|
||||||
{{- end }}
|
{{- if .Site.Params.valine.enable -}}
|
||||||
|
<span
|
||||||
|
id="{{ .URL | relURL }}"
|
||||||
|
class="leancloud_visitors"
|
||||||
|
data-flag-title="{{ .Title }}"
|
||||||
|
>
|
||||||
|
<span class="post-meta-item-text"> pm </span>
|
||||||
|
<span class="leancloud-visitors-count">1000000</span>
|
||||||
|
<p></p>
|
||||||
|
</span>
|
||||||
|
<div id="vcomments"></div>
|
||||||
|
<script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
|
||||||
|
<script src="//unpkg.com/valine/dist/Valine.min.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
new Valine({
|
||||||
|
el: '#vcomments',
|
||||||
|
appId: '{{ .Site.Params.valine.appId }}',
|
||||||
|
appKey: '{{ .Site.Params.valine.appKey }}',
|
||||||
|
notify: '{{ .Site.Params.valine.notify }}',
|
||||||
|
verify: '{{ .Site.Params.valine.verify }}',
|
||||||
|
avatar: '{{ .Site.Params.valine.avatar }}',
|
||||||
|
placeholder: '{{ .Site.Params.valine.placeholder }}',
|
||||||
|
visitor: '{{ .Site.Params.valine.visitor }}',
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{{- end -}}
|
||||||
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue