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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-03-10 12:10:45 +0300
committerDillon <dillonzq@outlook.com>2020-03-10 12:10:45 +0300
commit629e2e5fda8038cf2012af6b01fca2c77d51af95 (patch)
tree21ef3301d556a6c0973e206e99c8f6ed710a62c6 /layouts
parent9f6fe226a6bd255c28b5724c13035330a70e7d9a (diff)
fix(comment): fix visitors count for valine
Diffstat (limited to 'layouts')
-rw-r--r--layouts/posts/single.html2
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>&nbsp;
<i class="fas fa-pencil-alt fa-fw"></i>{{ T "wordCount" .WordCount }}&nbsp;
<i class="far fa-clock fa-fw"></i>{{ T "readingTime" .ReadingTime }}&nbsp;
- {{- 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>&nbsp;{{ T "views" }}
</span>&nbsp;