---
layout: base
---
<main>

	<h1>{{ page.tag }}</h1>

	<table>
		<tbody>

			<tr>
				<td width="60%" cellpadding=10>

					{% assign prev_year = 'first run' %}
					{% assign sorted_posts = page.posts | sort: "date" | reverse %}
					{% for post in sorted_posts %}

						{% assign current_year = post.date | date: "%Y" %}

						{% if current_year != prev_year %}
							{% if prev_year != 'first run' %}
								</ul>
							{% endif %}
							{% assign prev_year = current_year %}
							<h2 class="year">{{ current_year | default: '<em>undated</em>' }}</h2>
							<ul class="index">
						{% endif %}

						<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a><span class="posted">{{ post.date | date: "%b %-d" }}</span></li>

						{% if current_year != date %}
						{% endif %}

					{% endfor %}

				</td>

				<td>
					<div id="tag-cloud">
					  {{ site | tag_cloud }}
					</div>
				</td>
			</tr>

		</tbody>
	</table>
</main>

