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
---
<div class="container">
<div class="content">
<!-- Header -->
<div class="page-heading">Blog</div>
<!-- List -->
<section class="container centered">
<div class="about">
<h1>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h1>
<h2>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h2>
<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>
{% for item in site.links %}
<li>
<a href="{{ item[1] | strip_newlines | strip_html | strip | uri_escape }}" target="_blank">
{{ item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</section>