summaryrefslogtreecommitdiff
path: root/layout/archive.ejs
blob: 8b8f001ec497012aa6baf90f6d2bba75dcaab895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<section class="archive">
    <ul class="archive-posts">
        <% page.posts.each(function(post) { %>
            <li class="archive-post">
                <div class="archive-post-time">
                    <%- date(post.date, theme.timeformat) %>
                </div>
                <a class="archive-post-title" href="<%- url_for(post.path) %>">
                    <%= post.title %>
                </a>
            </li>
        <% }); %>
    </ul>
</section>