summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.liquid (renamed from _layouts/default.html)0
-rw-r--r--_layouts/page.liquid (renamed from _layouts/page.html)0
-rw-r--r--_layouts/post.html8
-rw-r--r--_layouts/post.liquid23
4 files changed, 23 insertions, 8 deletions
diff --git a/_layouts/default.html b/_layouts/default.liquid
index 5697ebf..5697ebf 100644
--- a/_layouts/default.html
+++ b/_layouts/default.liquid
diff --git a/_layouts/page.html b/_layouts/page.liquid
index efc43e5..efc43e5 100644
--- a/_layouts/page.html
+++ b/_layouts/page.liquid
diff --git a/_layouts/post.html b/_layouts/post.html
deleted file mode 100644
index 17739c5..0000000
--- a/_layouts/post.html
+++ /dev/null
@@ -1,8 +0,0 @@
----
-layout: default
----
-<div class="column is-full content mt-4">
- {{ content }}
-</div>
-
-
diff --git a/_layouts/post.liquid b/_layouts/post.liquid
new file mode 100644
index 0000000..c635286
--- /dev/null
+++ b/_layouts/post.liquid
@@ -0,0 +1,23 @@
+---
+layout: default
+---
+<div class="column is-full content mt-4">
+ <div class="columns is-vcentered">
+ <div class="column is-narrow">
+ <h1>
+ {{ page.title }}
+ </h1>
+ </div>
+ <div class="column">
+ {{ page.date | date: "%A %d, %B %Y" }}
+ </div>
+ </div>
+ {% for tag in page.tags %}
+ <div class="columns post-tag">
+ {{ tag }}
+ </div>
+ {% endfor %}
+ {{ content }}
+</div>
+
+