aboutsummaryrefslogtreecommitdiffstats
path: root/_layouts
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-11-12 02:14:04 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-11-12 02:14:04 +0300
commit7b46213ebebd38f1b2f55df0b1efde88059c814d (patch)
treecbc1678276681965792fdce6e68426f395b4aff5 /_layouts
parent9f6f9ffe4ca074d0eaa9f9897346ebc70b83877b (diff)
downloadaaoth.xyz-7b46213ebebd38f1b2f55df0b1efde88059c814d.tar.gz
aaoth.xyz-7b46213ebebd38f1b2f55df0b1efde88059c814d.zip
add post functionality
this is not for real like blog posts, but for my telegram ones. they are small and may be just written in plain on one page. of course, it'll make this page too long, but to that time i'll find how to deal with it.
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/post.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..e94ff43
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,12 @@
+---
+layout: default
+---
+
+<div class="post">
+<h1>{{ page.title }}</h1>
+<hr>
+<i>{{ page.date | date: "%Y-%m-%d %H:%M" }}</i>
+
+{{ content }}
+
+</div>