aboutsummaryrefslogtreecommitdiff
path: root/_pages/blog.html
diff options
context:
space:
mode:
authorValentin Popov <valentineus@gmail.com>2018-04-11 03:56:01 +0300
committerValentin Popov <valentineus@gmail.com>2018-04-11 03:56:01 +0300
commitb7a1f089f3be78b997321d6011735d6954cb971e (patch)
treeaab93a65222df2ea3f2fda858aa2be26f2498b7b /_pages/blog.html
parentf2f3b94acc1f889c2199ed121039bd44b0f41d45 (diff)
downloadpopov.link-b7a1f089f3be78b997321d6011735d6954cb971e.tar.xz
popov.link-b7a1f089f3be78b997321d6011735d6954cb971e.zip
Page with entries
Diffstat (limited to '_pages/blog.html')
-rw-r--r--_pages/blog.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/_pages/blog.html b/_pages/blog.html
new file mode 100644
index 0000000..5f32994
--- /dev/null
+++ b/_pages/blog.html
@@ -0,0 +1,26 @@
+---
+permalink: "posts.html"
+layout: default
+title: "Posts"
+show: true
+---
+
+<section class="container list">
+ <h1 class="title">{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h1>
+
+ <ul>
+ {% for item in site.posts %}
+ <li>
+ <span>
+ <time datetime="{{ item.date | date_to_xmlschema }}">
+ {{ item.date | date_to_long_string }}
+ </time>
+ </span>
+
+ <a href="{{ item.url | relative_url | uri_escape }}">
+ {{ item.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
+ </a>
+ </li>
+ {% endfor%}
+ </ul>
+</section>