blob: f14b2e95338b62daa48e833ade19cbbfba4d5c79 (
plain)
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
|
---
layout: index
title: Blog posts
---
<div id="home" class="padding">
<div class="section_title">
<h3>Blog Post</h3>
</div>
{% for post in site.posts %}
{% endfor %}
<ul class="posts">
{% for post in site.posts %}
{% assign currentdate = post.date | date: "%Y" %}
{% if currentdate != date %}
<div id="y{{currentdate}}" class="section_title" ><h4>{{ currentdate }}</h4></div>
{% assign date = currentdate %}
{% endif %}
<li><span>{{ post.date | date: "%-d. %B"}}</span> ยป <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
<div class="bottom"></div>
</div>
<div id="footer" class="page">
</div>
|