blob: 93152b91884f277ed10b3329fb395eac7a808a29 (
plain) (
blame)
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
|
---
layout: page
permalink: "index.html"
title: "Список всех постов"
---
{% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %}
{% for year in postsByYear %}
<section>
<!-- Header -->
<h3>{{ year.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify | slugify }}</h3>
<ul>
{% for post in year.items %}
<li>
<!-- Title / Link -->
<a href="{{ post.url | relative_url | uri_escape }}">
{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
</a>
<small>
<!-- Date of publication -->
<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 %}
|