-
Notifications
You must be signed in to change notification settings - Fork 12
/
archives.html
32 lines (30 loc) · 1015 Bytes
/
archives.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<script type="text/javascript">
$(function(){
$('#menu_item_archives').addClass('is_active');
});
</script>
<div class="row">
<div class="large-8 medium-8 columns">
<div id="archives-page-wrap">
<h1>Archives</h1>
<div class="markdown-body archives-wrap">
{% for p in posts %}
{% if p.year.length %}
<h1>{{ p.year }}</h1>
{% /if %}
<div class="article">
<a class="clearlink" href="{{ p.url }}">
<h1>{{ p.title }}</h1>
</a>
<div class="read-more clearfix">
<span class="date">{{p.date}}</span>
{% if p.cats.@count %}<span>posted in </span> {% /if %}
{% for cat in p.cats %}
<span class="posted-in"><a href='{{ cat.url }}'>{{ cat.name }}</a></span>
{% /for %}
</div>
</div><!-- article -->
{% /for %}
</div>
</div>
</div>