Main page

This commit is contained in:
Valentin Popov 2018-04-11 00:19:47 +00:00
parent 187bf204d4
commit 5c2f1a8009

View File

@ -1,28 +1,20 @@
--- ---
permalink: "/index.html" permalink: "index.html"
layout: default layout: default
--- ---
<div class="container"> <section class="container centered">
<div class="content"> <div class="about">
<!-- Header --> <h1>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h1>
<div class="page-heading">Blog</div> <h2>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h2>
<!-- List -->
<ul> <ul>
{% for node in site.posts %} {% for item in site.links %}
<li class="post-item"> <li>
<!-- Time --> <a href="{{ item[1] | strip_newlines | strip_html | strip | uri_escape }}" target="_blank">
<span class="meta"> {{ item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
<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> </a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
</div> </section>