You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<% if (is_tag()) { %>
|
|
|
|
<script>
|
|
|
|
window.subData= { title:'tag : <%= page.tag %>'}
|
|
|
|
</script>
|
|
|
|
<% } else if (is_archive()) { %>
|
|
|
|
<script>
|
|
|
|
window.subData= { title:'year : <%= page.year %><%= page.month ? '.' + page.month : '' %>'}
|
|
|
|
</script>
|
|
|
|
<% } else if (is_category()) { %>
|
|
|
|
<script>
|
|
|
|
window.subData= { title:'category : <%= page.category %>'}
|
|
|
|
</script>
|
|
|
|
<% } %>
|
|
|
|
<section class="post-list">
|
|
|
|
<% page.posts.each(function(post){ %>
|
|
|
|
<div class='post-wrapper'>
|
|
|
|
<%- partial('post', {post: post}) %>
|
|
|
|
</div>
|
|
|
|
<% }) %>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<% if (page.total > 1) { %>
|
|
|
|
<nav id="page-nav">
|
|
|
|
<% if (page.prev != 0) { %>
|
|
|
|
<a class="prev" rel="prev" href="<%= url_for(page.prev_link) %>">
|
|
|
|
<span class="icon icon-chevron-left"></span>
|
|
|
|
<span class="text">PREVIOUS</span>
|
|
|
|
</a>
|
|
|
|
<% } %>
|
|
|
|
<% if (page.next != 0) { %>
|
|
|
|
<a class="next" rel="next" href="<%= url_for(page.next_link) %>">
|
|
|
|
<span class="text">NEXT</span>
|
|
|
|
<span class="icon icon-chevron-right"></span>
|
|
|
|
</a>
|
|
|
|
<% } %>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<% } %>
|
|
|
|
<!-- <footer id="footer" class="clearfix" style="text-align: right">
|
|
|
|
Hosted by <a href="https://pages.coding.me">Coding Pages</a>
|
|
|
|
</footer> -->
|