popov.link/_includes/posts.html

11 lines
383 B
HTML

<h2>Posts</h2>
<ul>
{%- for post in site.posts -%}
<li>
<a href="{{- post.url | relative_url | uri_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
(<time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: '%d-%m-%Y' | strip | normalize_whitespace | xml_escape -}}</time>)
</li>
{%- endfor -%}
</ul>