aboutsummaryrefslogtreecommitdiff
path: root/_includes/posts.html
diff options
context:
space:
mode:
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>