diff options
author | Valentin Popov <info@valentineus.link> | 2020-01-23 19:26:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-23 19:26:23 +0300 |
commit | d05dfb5fbc9603491643a41a47ff9463bf2fda4e (patch) | |
tree | 5be50a926a746832df84e7a4abd04eb967f0bb79 /_includes/posts.html | |
parent | d48911089650991034664eac3d2dc2cb2527fcaa (diff) | |
parent | 11c402a2938935111fc6c82f53b720eb71e355c7 (diff) | |
download | popov.link-d05dfb5fbc9603491643a41a47ff9463bf2fda4e.tar.xz popov.link-d05dfb5fbc9603491643a41a47ff9463bf2fda4e.zip |
Merge pull request #2 from valentineus/monopage
Monopage
Diffstat (limited to '_includes/posts.html')
-rw-r--r-- | _includes/posts.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/_includes/posts.html b/_includes/posts.html new file mode 100644 index 0000000..4638c9b --- /dev/null +++ b/_includes/posts.html @@ -0,0 +1,10 @@ +<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> |