-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (32 loc) · 946 Bytes
/
index.html
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
32
33
34
---
layout: default
title: Mikkel Klitzing Hartmann Hansen
---
<div id="home">
<div class="authorinfo box">
<p>
Hi! My name is Mikkel Hansen. I'm a {{site.position}} at <a href="{{site.company_url}}"> {{site.company}}</a>.
I have Ph.D. in experimental physics. This is where I document my recreational coding activities.
</p>
</div>
<div class="posts">
{% for post in site.posts %}
{% assign currentdate = post.date | date: "%Y" %}
{% if currentdate != date %}
{% unless forloop.first %}
</ul>
{% endunless %}
<h1 id="y{{post.date | date: "%Y"}}" style="text-align: left;">{{ currentdate }}</h1>
<ul>
{% assign date = currentdate %}
{% endif %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
<span class="date">{{ post.date | date: "%d %b" }}</span>
</li>
{% if forloop.last %}
</ul>
{% endif %}
{% endfor %}
</div>
</div>