Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoxuu committed Mar 2, 2019
1 parent dc88f8b commit 7232cd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions layout/_third-party/popular_posts.ejs

This file was deleted.

4 changes: 2 additions & 2 deletions layout/_widget/related_posts.ejs
Original file line number Diff line number Diff line change
@@ -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>
<% } %>

0 comments on commit 7232cd3

Please sign in to comment.