parent
dc88f8bd3d
commit
7232cd31d0
2 changed files with 2 additions and 6 deletions
@ -1,4 +0,0 @@ |
||||
<div class="popular_posts"> |
||||
<h4><i class="fas fa-bookmark fa-fw" aria-hidden="true"></i> <%- __('post.related_posts') %></h4> |
||||
<%- popular_posts( {} , post ) %> |
||||
</div> |
@ -1,8 +1,8 @@ |
||||
<% if(page.layout == 'post' && page.content && page.path){ %> |
||||
<% if(theme.services && theme.services.popular_posts == true && page.layout == 'post' && page.content && page.path){ %> |
||||
<section class='<%- item.widget %>'> |
||||
<%- partial('header', {item: item, defIcon: 'fas fa-bookmark', defTitle: __('sidebar.related_posts')}) %> |
||||
<div class="content <%= theme.style %>"> |
||||
<%- popular_posts( { maxCount: 10 , ulClass: 'popular-posts' , PPMixingRate: 0.2 } , page ) %> |
||||
<%- popular_posts( { maxCount: 10 , ulClass: 'popular-posts' , PPMixingRate: 0.2 } , page ) %> |
||||
</div> |
||||
</section> |
||||
<% } %> |
||||
|
Loading…
Reference in new issue