aboutsummaryrefslogtreecommitdiff
path: root/_pages/index.html
diff options
context:
space:
mode:
authorValentin Popov <valentineus@gmail.com>2018-04-04 02:25:46 +0300
committerValentin Popov <valentineus@gmail.com>2018-04-04 02:25:46 +0300
commit7dc9912c0d8f220cc41e4b2f6afa31c633b1819f (patch)
treebeb246221c5cf8399be1c6257613c241b799de5d /_pages/index.html
parentb466d5fe7b26e1104109169ad72e8d5f355f74ca (diff)
downloadpopov.link-7dc9912c0d8f220cc41e4b2f6afa31c633b1819f.tar.xz
popov.link-7dc9912c0d8f220cc41e4b2f6afa31c633b1819f.zip
Renaming pages
Signed-off-by: Valentin Popov <valentineus@gmail.com>
Diffstat (limited to '_pages/index.html')
-rw-r--r--_pages/index.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/_pages/index.html b/_pages/index.html
new file mode 100644
index 0000000..280e8b6
--- /dev/null
+++ b/_pages/index.html
@@ -0,0 +1,32 @@
+---
+permalink: "/index.html"
+layout: default
+sidebar: true
+title: "Home"
+id: index
+---
+
+<div class="page">
+ <div class="posts">
+ {% for node in site.posts %}
+ <div class="post">
+ <!-- Date -->
+ <span class="post-date">
+ {{ node.latest_update | default: node.date | date_to_long_string }}
+ </span>
+
+ <!-- Header -->
+ <h1 class="post-title">
+ <a href="{{ node.url | relative_url | uri_escape }}">
+ {{ node.title | smartify | strip_html | normalize_whitespace }}
+ </a>
+ </h1>
+
+ <!-- Content -->
+ <span class="post-date">
+ {{ node.description | smartify | strip_html | normalize_whitespace }}
+ </span>
+ </div>
+ {% endfor %}
+ </div>
+</div>