29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
|
<div class="hd logodiv">
|
||
|
<%- image_tag('img/logo.png',{class: 'logopng'}) %>
|
||
|
<p class="logot"><span class="logo_1"><</span><span class="logo_2">/</span><span class="logo_3">#</span> <%= theme.logo_title %> <span class="logo_3">#</span><span class="logo_2">/</span><span class="logo_1">></span></p>
|
||
|
</div>
|
||
|
<%- partial('_partial/nav') %>
|
||
|
<div class="hd">
|
||
|
<% var last; %>
|
||
|
<% page.posts.each(function (post) { %>
|
||
|
<% var year = post.date.year(); %>
|
||
|
<% if (last != year){ %>
|
||
|
<div class="titlex">
|
||
|
<p><span class="jing">#</span>
|
||
|
<%= year %>
|
||
|
</p>
|
||
|
</div>
|
||
|
<% last = year; %>
|
||
|
<% } %>
|
||
|
<a class="flink" href="<%- url_for(post.path) %>">
|
||
|
<div class="list">
|
||
|
<div class="postname">
|
||
|
<%= post.title %>
|
||
|
</div>
|
||
|
<div class="posttime">
|
||
|
<%- full_date(post.date, 'MMMM Do') %>
|
||
|
</div>
|
||
|
</div>
|
||
|
</a>
|
||
|
<% }) %>
|
||
|
</div>
|