Created basic Jekyll blog

This commit is contained in:
kaarelp2rtel
2018-12-26 13:00:05 +02:00
parent 114d0b97f8
commit 3fa56d4357
4 changed files with 38 additions and 2 deletions

19
blog.html Normal file
View File

@@ -0,0 +1,19 @@
---
layout: default
title: Blogi
---
<div class="page">
{%- for post in site.posts -%}
{%- assign date_format = "%F" -%}
<h3>
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h3>
{{ post.excerpt }}
<h5>{{ post.date | date: date_format }}
</h5>
{%- endfor -%}
</div>