-
Notifications
You must be signed in to change notification settings - Fork 1
/
archive.html
45 lines (44 loc) · 1.02 KB
/
archive.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
layout: archive
nav-type: blog
title: CAF Developer Blog
---
<div class="row" style="padding-top: 6em; padding-bottom: 4em">
<div class="row text-center">
<div class="small-12 columns">
<h1><b>
<img src="/static/img/blog/article.png" style="width: 1em">
Blog Archive
</b></h1>
</div>
</div>
<div class="row">
<div class="small-2 columns">
</div>
<div class="small-8 columns">
<p>
<ul>
{% for post in site.posts %}
{% capture post_year2 %}{{ post.date | date: '%Y' }}{% endcapture %}
{% if post_year1 != post_year2 %}
{% assign post_year1 = post_year2 %}
</ul>
<h3>{{ post_year1 }}</h3>
<ul>
{% endif %}
<li>
{{ post.date | date: "%a %B %-d" }}:
<a href="{{ post.url }}">
{{ post.title }}
</a>
</li>
{% endfor %}
</ul>
</p>
</div>
<div class="small-2 columns">
</div>
</div>
</div>