aboutsummaryrefslogtreecommitdiffstats
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-12-07 02:51:58 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-12-07 02:51:58 +0300
commitc34a1404a2ceb018834ff092fe3c87dd664c515d (patch)
tree6ef5080766e937ad8d5a108e6f06b73d4dbf9a9d /_layouts/post.html
parentf51ad63fd743e228ed6819a055d0b05ec0d2cab5 (diff)
downloadaaoth.xyz-c34a1404a2ceb018834ff092fe3c87dd664c515d.tar.gz
aaoth.xyz-c34a1404a2ceb018834ff092fe3c87dd664c515d.zip
update post pages and add fossil export post
edit post layout to handle tags, add sort-by-tag page and edit stylesheet according post content updates
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html21
1 files changed, 15 insertions, 6 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index e94ff43..30029a8 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -2,11 +2,20 @@
layout: default
---
-<div class="post">
-<h1>{{ page.title }}</h1>
-<hr>
-<i>{{ page.date | date: "%Y-%m-%d %H:%M" }}</i>
-
+<div class="post-page">
+ <div class="post-header">
+ <h1>{{ page.title }}</h1>
+ <ul>
+ <li>{{ page.date | date: "%F" }}</li>
+ {% if page.tags.size > 0 %}
+ <li> | </li>
+ <li>tags:</li>
+ {% for tag in page.tags %}
+ <li><a href="/tags/{{ tag }}">{{ tag }}</a></li>
+ {% endfor %}
+ {% endif %}
+ </ul>
+ <hr>
+ </div>
{{ content }}
-
</div>