blog.html 714 Bytes
Newer Older
1 2 3 4
---
title: Blog
permalink: /blog/
pagestyle: posts
5
layout: default
6 7 8
---

{% for post in site.posts %}
9
<section>
10 11
	<header class="post-title">
		<h1>
12
			<a href="{{site.base-url}}{{ post.url }}#main">{{ post.title }}</a>
Murukesh Mohanan's avatar
Murukesh Mohanan committed
13 14 15 16 17 18 19 20 21 22 23 24 25
			<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">
				{{ post.date | date: "%B %e, %Y" }}
			</time>
			{% if post.tags.size > 0 %}
			<ol class="tags-list">
				{% for post_tag in post.tags %}
					{% assign tag = site.data.tags[post_tag] %}
					{% if tag %}
						<li><a class="tag" href="/blog/tag/{{ post_tag }}/">{{ tag.name }}</a></li>
					{% endif %}
				{% endfor %}
			</ol>
			{% endif %}
26 27 28 29 30 31 32
		</h1>
	</header>

	<hr>
	{{ post.excerpt }}
</section>
{% endfor %}