0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-03 16:10:26 +03:00

New skin page pages

Signed-off-by: Valentin Popov <valentineus@gmail.com>
This commit is contained in:
Valentin Popov
2018-04-07 09:22:57 +00:00
parent abd69b6b5e
commit d618c2de08
3 changed files with 31 additions and 24 deletions

View File

@ -3,22 +3,26 @@ permalink: "/index.html"
layout: default
---
<!-- Header -->
<div class="page-heading">Blog</div>
<!-- List -->
<ul>
{% for node in site.posts %}
<li class="post-item">
<!-- Time -->
<span class="meta">
<time datetime="{{ node.latest_update | default: node.date | date_to_xmlschema }}">
{{ node.latest_update | default: node.date | date_to_string }}
</time>
</span>
<!-- Link -->
<a href="{{ node.url | relative_url | uri_escape }}">
<span>{{ node.title | smartify | strip_html | normalize_whitespace }}</span>
</a>
</li>
{% endfor %}
</ul>
<div class="container">
<div class="content">
<!-- Header -->
<div class="page-heading">Blog</div>
<!-- List -->
<ul>
{% for node in site.posts %}
<li class="post-item">
<!-- Time -->
<span class="meta">
<time datetime="{{ node.latest_update | default: node.date | date_to_xmlschema }}">
{{ node.latest_update | default: node.date | date_to_string }}
</time>
</span>
<!-- Link -->
<a href="{{ node.url | relative_url | uri_escape }}">
<span>{{ node.title | smartify | strip_html | normalize_whitespace }}</span>
</a>
</li>
{% endfor %}
</ul>
</div>
</div>