|
|
@ -14,9 +14,18 @@ |
|
|
|
|
|
|
|
|
|
|
|
<section class="post-list"> |
|
|
|
<section class="post-list"> |
|
|
|
<% page.posts.each(function(post){ %> |
|
|
|
<% page.posts.each(function(post){ %> |
|
|
|
|
|
|
|
<% if (post.top == true) { %> |
|
|
|
|
|
|
|
<div class='post-wrapper'> |
|
|
|
|
|
|
|
<%- partial('post', {post: post}) %> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<% } %> |
|
|
|
|
|
|
|
<% }) %> |
|
|
|
|
|
|
|
<% page.posts.each(function(post){ %> |
|
|
|
|
|
|
|
<% if (!post.top || post.top != true) { %> |
|
|
|
<div class='post-wrapper'> |
|
|
|
<div class='post-wrapper'> |
|
|
|
<%- partial('post', {post: post}) %> |
|
|
|
<%- partial('post', {post: post}) %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<% } %> |
|
|
|
<% }) %> |
|
|
|
<% }) %> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
|
|
|
|
|
|
|
|