diff options
author | uPagge <upagge@mail.ru> | 2020-11-28 10:12:35 +0300 |
---|---|---|
committer | uPagge <upagge@mail.ru> | 2020-11-28 10:12:35 +0300 |
commit | 1acbb744410ddce8b7110f2d4f300e7c11fac343 (patch) | |
tree | 9157d08266d78823d8a21e73bf441ee1cc20aa2a /layouts/_default/summary.html | |
parent | 58613faf1b902e0aab005b49b6edf08085add269 (diff) |
добавляем счетчик комментариев
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 8e39337..86a5e48 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -47,6 +47,15 @@ {{- dict "Categories" . | T "includedInCategories" | safeHTML -}} </span> {{- end -}} + + {{- $comment := .Site.Params.Page.Comment -}} + {{- $remark42 := $comment.remark42 | default dict -}} + {{- if $remark42.enable -}} + · <i class="far fa-eye fa-fw"></i> + <span class="remark42__counter" data-url="{{ $.RelPermalink }}"> + + </span> + {{- end -}} </div> {{- /* Summary content */ -}} |