From ef9209a184324791179401e496433f8dbea70cc3 Mon Sep 17 00:00:00 2001
From: timur
Date: Mon, 5 Feb 2018 12:47:53 +0200
Subject: [PATCH] comments count
---
frontend/views/blog/_article_item.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/frontend/views/blog/_article_item.php b/frontend/views/blog/_article_item.php
index 6a23e17..77a0b5e 100644
--- a/frontend/views/blog/_article_item.php
+++ b/frontend/views/blog/_article_item.php
@@ -43,11 +43,12 @@
[
'blog/article',
'alias' => $model->lang->alias,
- '#' => "disqus_thread"
]
)?>"
>
- 0 Comments
+
+ = $model->getCommentsCount() ?>
+ Comments
@@ -66,7 +67,6 @@
'class' => "img-responsive"
]
)?>
-
--
libgit2 0.21.4