-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (28 loc) · 815 Bytes
/
index.html
File metadata and controls
31 lines (28 loc) · 815 Bytes
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
26
27
28
29
30
31
---
layout: default
title: Mr Ghort The Blog
---
<div id="blog-archives">
{% for post in site.posts reverse %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% unless year == this_year %}
{% assign year = this_year %}
<h2>{{ year }}</h2>
{% endunless %}
<article>
<div class="content-container">
<a href="{{ root_url }}{{ post.url }}">
<b>{{post.title}}</b> -
{% assign author_key = post.author %}
{% for key in author_key %}
{% assign author = site.authors[key] %}
{% if author %}
<span class="byline author vcard"><a href ="/author/{{key}}">{{ author.name }}<a/></span>
{% endif %}
{% endfor %}
</a>
</div>
</article>
{% endfor %}
</div>
<div style="clear:both;"></div>