Blog/themes/freemind/layout/_partial/index.ejs

36 lines
668 B
Text
Raw Permalink Normal View History

2022-03-16 15:24:24 +01:00
<div class="row page">
<% if (theme.widgets.length) { %>
<div class="col-md-9">
<% } else { %>
<div class="col-md-12">
<% } %>
<%- partial('post/slogan') %>
<div id="top_search"></div>
<div class="mypage">
<!-- title and entry -->
<% page.posts.each(function(item){ %>
<%- partial('post/title', {item: item, index: index}) %>
<%- partial('post/entry', {item: item, index: index}) %>
<% }); %>
</div>
<!-- pagination -->
<div>
<center>
<%- partial('index_pagination') %>
</center>
</div>
</div> <!-- col-md-9 -->
<% if (theme.widgets.length) { %>
<%- partial('sidebar') %>
<% } %>
</div> <!-- row-fluid -->