aboutsummaryrefslogtreecommitdiff
path: root/source/_layouts/archive_yearly.html
blob: dabebebd85929647218edb2f0a0fad68c6353385 (plain)
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
---
layout: default
---
<div id="content">
	<div class="post">
		<h1 class="post-title">{{ page.year }}</h1>
		<p class="lead">Posts from the year {{ page.year }}</p>
		{% for m in (1..12) reversed %}
			{% if page.collated_posts[page.year][m] %}
				<h3>{{ m | date_to_month }}</h3>
				{% for d in (1..31) reversed %}
					{% if page.collated_posts[page.year][m][d] %}
						{% for p in page.collated_posts[page.year][m][d] reversed %}
							<div>
								<strong>{{ p.date | date: "%d" }}</strong>
								<a href='{{ p.url }}'>{{ p.title }}</a>
							</div>
						{% endfor %}
					{% endif %}
				{% endfor %}
			{% endif %}
		{% endfor %}
	</div>
</div>