parent
5d90c9965e
commit
e12efcea6f
4 changed files with 51 additions and 23 deletions
@ -0,0 +1,11 @@ |
||||
<% var post_list = recommended_posts(page, site) %> |
||||
<% if(post_list.length > 0) { %> |
||||
<div class="recommended_posts"> |
||||
<h4>推荐文章</h4> |
||||
<ul> |
||||
<% post_list.forEach(function(link) { %> |
||||
<li><a href="<%= link.permalink %>"><%= link.title %></a></li> |
||||
<% }) %> |
||||
</ul> |
||||
</div> |
||||
<% } %> |
Loading…
Reference in new issue