summaryrefslogtreecommitdiffstats
path: root/source/_includes/archive_post.html
blob: 2b006f63eb937e18bd06bb4e122e3409133c7e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% capture date %}{{ post.date }}{% endcapture %}
{% capture this_year %}{{ date | date: "%Y" }}{% endcapture %}
{% unless year == this_year %}
	{% assign year = this_year %}
	{% unless forloop.first %}
		</section>
	{% endunless %}
	<section class="archives"><h1 class="year">{{ date | date: "%Y" }}</h1>
{% endunless %}
<article>
	<h1 class="title"><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h1>
	<div class="meta">
		<span class="date">{{ date | date: "%b %e" }}</span>
		<span class="tags">{% include post/categories.html %}</span>
	    {% if site.disqus_short_name and post.comments == true and site.disqus_show_comment_count == true %}
	    <span class="comments"><a href="{{ root_url }}{{ post.url }}#disqus_thread">Comments</a></span>
	    {% endif %}
	</div>
</article>