Commit ef9209a184324791179401e496433f8dbea70cc3
1 parent
2a2fa0b0
comments count
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
frontend/views/blog/_article_item.php
... | ... | @@ -43,11 +43,12 @@ |
43 | 43 | [ |
44 | 44 | 'blog/article', |
45 | 45 | 'alias' => $model->lang->alias, |
46 | - '#' => "disqus_thread" | |
47 | 46 | ] |
48 | 47 | )?>" |
49 | 48 | > |
50 | - <i class="fa fa-comment-o"></i> 0 Comments | |
49 | + <i class="fa fa-comment-o"></i> | |
50 | + <?= $model->getCommentsCount() ?> | |
51 | + Comments | |
51 | 52 | </a> |
52 | 53 | </p> |
53 | 54 | </div> |
... | ... | @@ -66,7 +67,6 @@ |
66 | 67 | 'class' => "img-responsive" |
67 | 68 | ] |
68 | 69 | )?> |
69 | -<!-- <img src="img/photo01.jpg" class="img-responsive" alt="Example blog post alt">--> | |
70 | 70 | </a> |
71 | 71 | </div> |
72 | 72 | <p class="intro"> | ... | ... |