summaryrefslogtreecommitdiffstats
path: root/_layouts/post.html
blob: 4e63808ca82839f2fd00ad844a7f29b18d2c61d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
layout: default
---
<h1>
	{{ page.title }}
</h1>
<p>
	{{ page.date | date: site.short_date_format }}
	{% assign author = site.authors | where: 'short_name', page.author | first %}
	{% assign anon = site.authors | where: 'short_name', "anonymous" | first %}
	-
	{% if author %}
		<a href="{{ author.url | remove: ".html" }}">
			{{ author.name }}
		</a>
	{% else %}
	<a href="{{ anon.url | remove: ".html" }}">
		{{ anon.name }}
	</a>
	{% endif %}
</p>

{{ content }}