aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 674b810..dcf667a 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -1,6 +1,17 @@
---
layout: default
---
-{% include jekyll-theme/posts/header.html title=page.title date=page.date category=page.category %}
+{% capture date %}{%- include jekyll-theme/posts/date.html date=page.date monospace=true -%}{% endcapture %}
+
+{% assign category = "" %}
+{% if page.category %}
+ {% capture category %}{%- include jekyll-theme/categories/label.html link=true category=page.category monospace=true -%} {% endcapture %}
+{% endif %}
+
+{% capture date %}{{ category }}{{ date }}{% endcapture %}
+
+{% capture title %}<h1>{{ page.title }}</h1>{% endcapture %}
+
+{% include jekyll-theme/flex-header.html title=title right=date %}
{{ content }}
{% include jekyll-theme/sidebar/sep.html %}