summaryrefslogtreecommitdiff
path: root/_layouts/post.liquid
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/post.liquid')
-rw-r--r--_layouts/post.liquid42
1 files changed, 16 insertions, 26 deletions
diff --git a/_layouts/post.liquid b/_layouts/post.liquid
index d945917..a23d51f 100644
--- a/_layouts/post.liquid
+++ b/_layouts/post.liquid
@@ -20,36 +20,26 @@
<h1 class="title">
{{ page.title }}
</h1>
-
- <h2 class="subtitle">
- {% if page.published_date %}
- {{ page.published_date | date: "%A, %b %e, %Y" }}
- {% else %}
- Unpublished!
- {% endif %}
- </h2>
<!-- end title and date -->
<!-- begin categories and tags -->
- <p>
- {% if page.categories %}
- Categories:
- {% for category in page.categories %}
- <span class="tag is-rounded">
- {{ category | downcase }}
- </span>
- {% endfor %}
- {% endif %}
+ <div class="field is-grouped is-grouped-multiline">
+ <div class="control">
+ <h2 class="subtitle">
+ {% if page.published_date %}
+ {{ page.published_date | date: "%A, %b %e, %Y" }}
+ {% else %}
+ Unpublished!
+ {% endif %}
+ </h2>
+ </div>
+
+ <div class="control">
+ {% include categories.liquid %}
+ </div>
+ </div>
- {% if page.tags %}
- Tags:
- {% for tag in page.tags %}
- <span class="tag is-rounded">
- #{{ tag | downcase }}
- </span>
- {% endfor %}
- {% endif %}
- </p>
+ {% include tags.liquid %}
<!-- end categories and tags -->
</div>