aboutsummaryrefslogtreecommitdiff
path: root/_includes/posts.html
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-01-23 19:26:23 +0300
committerGitHub <noreply@github.com>2020-01-23 19:26:23 +0300
commitd05dfb5fbc9603491643a41a47ff9463bf2fda4e (patch)
tree5be50a926a746832df84e7a4abd04eb967f0bb79 /_includes/posts.html
parentd48911089650991034664eac3d2dc2cb2527fcaa (diff)
parent11c402a2938935111fc6c82f53b720eb71e355c7 (diff)
downloadpopov.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.html10
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>