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:
authoruPagge <git@upagge.ru>2021-02-18 20:32:27 +0300
committeruPagge <git@upagge.ru>2021-02-18 20:32:27 +0300
commitd0b114a7ee4d7cd467ff64123bb719746d2d0879 (patch)
treec2df16024801ffd73ed78b5c6cdfc8f57c5dd3a6 /layouts/posts
parentafe7085b3ccbc2c0997f2ac6127e90c1b276accd (diff)
views
Diffstat (limited to 'layouts/posts')
-rw-r--r--layouts/posts/single.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 7eca11e..9136f21 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -132,6 +132,8 @@
</span>
{{- end -}}
+ <span id="views_container"><i class="fas fa-eye fa-fw"></i>&nbsp;<span id="views_value" style="margin-right: 0">Нет</span> просмотров</span>
+
{{- with $.Site.Params.dateformat | default "2006-01-02" | $.PublishDate.Format -}}
{{- $timeAgoDate:= $.Site.Params.TimeAgo.DateFormat | default "2006-01-02" | $.PublishDate.Format -}}
&nbsp;&nbsp;&nbsp;&nbsp;<i class="far fa-calendar-alt fa-fw"></i>&nbsp;<time class="timeago" datetime="{{ $timeAgoDate }}">{{ . }}</time>