diff options
author | Dillon <dillonzq@outlook.com> | 2020-03-10 12:10:45 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2020-03-10 12:10:45 +0300 |
commit | 629e2e5fda8038cf2012af6b01fca2c77d51af95 (patch) | |
tree | 21ef3301d556a6c0973e206e99c8f6ed710a62c6 /layouts | |
parent | 9f6fe226a6bd255c28b5724c13035330a70e7d9a (diff) |
fix(comment): fix visitors count for valine
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/posts/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 59ab048..4456e7d 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -35,7 +35,7 @@ <i class="far fa-calendar-alt fa-fw"></i><time datetime={{ $publish_date }}>{{ $publish_date }}</time> <i class="fas fa-pencil-alt fa-fw"></i>{{ T "wordCount" .WordCount }} <i class="far fa-clock fa-fw"></i>{{ T "readingTime" .ReadingTime }} - {{- if $scratch.Get "production" | and .Site.Params.valine.enable | and .Site.Params.valine.visitor -}} + {{- if $scratch.Get "production" | and .Site.Params.comment.valine.enable | and .Site.Params.comment.valine.visitor -}} <span id="{{ .RelPermalink | relURL }}" class="leancloud_visitors" data-flag-title="{{ .Title }}"> <i class="far fa-eye fa-fw"></i><span class=leancloud-visitors-count></span> {{ T "views" }} </span> |