-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (57 loc) · 1.79 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
layout: default
title: Technical Essays of Morten Fangel
author: <a href="http://sevengoslings.net">Morten Fangel</a>
---
<article class="listing">
<header>
<div>Welcome to the home of the</div>
<h1>Technical Essays of <address>{{ page.author }}</address></h1>
</header>
<section>
<p>
This is collection of essays written by me, Morten Fangel. My hope
is that these essays inspire you to create a better solution than
the one I outline. I've tried to keep examples small and generic
enough to allow for easy extension of the solutions described in my
essays.
</p>
<p>
If you want to know more about me personally or if you want to know
how to contact me, you should check out my personal site:
<a href="http://sevengoslings.net">sevengoslings.net</a>
</p>
</section>
<h2>The essays:</h2>
<ul class="posts">
{% for post in site.posts %}
<li>
<article>
<a href="{{ post.url }}">
<h1>{{ post.title }}</h1>
<section class="byline">
{% capture day %}{{ post.date | date: "%e" }}{%endcapture %}
{% case day %}
{% when ' 1' %}{% assign format = "%B %est, %Y" %}
{% when ' 2' %}{% assign format = "%B %end, %Y" %}
{% when '21' %}{% assign format = "%B %est, %Y" %}
{% when '22' %}{% assign format = "%B %end, %Y" %}
{% when '31' %}{% assign format = "%B %est, %Y" %}
{% else %}{% assign format = "%B %eth, %Y" %}
{% endcase %}
Published on
<time datetime="{{ post.date | date: "%Y-%m-%d" }}">
{{ post.date | date: format }}</time>.
</section>
<section class="abstract">
{{ post.abstract }}
</section>
<aside>
.. click to continue reading this essay.
</aside>
</a>
</article>
</li>
{% endfor %}
</ul>
</article>