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,11 +43,12 @@ | ||
| 43 | [ | 43 | [ |
| 44 | 'blog/article', | 44 | 'blog/article', |
| 45 | 'alias' => $model->lang->alias, | 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 | </a> | 52 | </a> |
| 52 | </p> | 53 | </p> |
| 53 | </div> | 54 | </div> |
| @@ -66,7 +67,6 @@ | @@ -66,7 +67,6 @@ | ||
| 66 | 'class' => "img-responsive" | 67 | 'class' => "img-responsive" |
| 67 | ] | 68 | ] |
| 68 | )?> | 69 | )?> |
| 69 | -<!-- <img src="img/photo01.jpg" class="img-responsive" alt="Example blog post alt">--> | ||
| 70 | </a> | 70 | </a> |
| 71 | </div> | 71 | </div> |
| 72 | <p class="intro"> | 72 | <p class="intro"> |