Updated list of posts
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
f8d7ad4c48
commit
c204a254c0
@ -1,20 +1,29 @@
|
|||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
permalink: "index.html"
|
permalink: "index.html"
|
||||||
|
title: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
{% for post in site.posts %}
|
{% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %}
|
||||||
|
|
||||||
|
{% for year in postsByYear %}
|
||||||
<section>
|
<section>
|
||||||
<h4>
|
<h3>{{ year.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify | slugify }}</h3>
|
||||||
<span>
|
|
||||||
<time datetime="{{ post.date | date_to_xmlschema }}">
|
<ul>
|
||||||
{{ post.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
{% for post in year.items %}
|
||||||
</time>
|
<li>
|
||||||
</span> | <a href="{{ post.url | relative_url | uri_escape }}">
|
<a href="{{ post.url | relative_url | uri_escape }}">
|
||||||
{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
||||||
</a>
|
</a>
|
||||||
</h4>
|
|
||||||
|
|
||||||
<p>{{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</p>
|
<small>
|
||||||
|
<time datetime="{{ post.date | date_to_xmlschema }}">
|
||||||
|
<em>{{ post.date | date: '- %b %d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</em>
|
||||||
|
</time>
|
||||||
|
</small>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user