0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 00:20:26 +03:00

Updated homepage

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-01-23 19:41:44 +04:00
parent b837e8c89e
commit 30c54ec5a3
7 changed files with 77 additions and 38 deletions

View File

@ -4,26 +4,6 @@ permalink: "index.html"
title: ""
---
{% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %}
{% for year in postsByYear %}
<section>
<h3>{{ year.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify | slugify }}</h3>
<ul>
{% for post in year.items %}
<li>
<a href="{{ post.url | relative_url | uri_escape }}">
{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
</a>
<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>
{% endfor %}
{% include contacts.html %}
{% include links.html %}
{% include posts.html %}