aboutsummaryrefslogtreecommitdiffstats
path: root/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..85266e4
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,23 @@
+---
+layout: default
+---
+<article class="post">
+
+ <header class="post-header">
+ <h1 class="post-title">{{ page.title }}</h1>
+ <div class="post-title__info">
+ <span>Julkaistu</span>
+ <time datetime="{{ page.date | date_to_xmlschema }}">
+ {{ page.date | date: "%d.%m.%Y klo %H:%M" }}
+ </time>
+ &#x2022; {{ page.author }}
+ </div>
+ </header>
+
+ <div class="post-header post__spacer"></div>
+
+ <div class="post-content">
+ {{ content }}
+ </div>
+
+</article>