summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/page.liquid4
-rw-r--r--_layouts/post.liquid38
2 files changed, 28 insertions, 14 deletions
diff --git a/_layouts/page.liquid b/_layouts/page.liquid
index 101ebc2..9a728d1 100644
--- a/_layouts/page.liquid
+++ b/_layouts/page.liquid
@@ -35,7 +35,9 @@
<div class="columns">
<div class="column">
- {{ page.content }}
+ <div class="content">
+ {{ page.content }}
+ </div>
</div>
<div class="column is-narrow">
diff --git a/_layouts/post.liquid b/_layouts/post.liquid
index 382f17d..777f455 100644
--- a/_layouts/post.liquid
+++ b/_layouts/post.liquid
@@ -25,25 +25,35 @@
</h1>
<h2 class="subtitle">
- {{ page.published_date | date: "%A, %b %e, %Y" }}
+ {% if page.published_date %}
+ {{ page.published_date | date: "%A, %b %e, %Y" }}
+ {% else %}
+ Unpublished!
+ {% endif %}
</h2>
<!-- end title and date -->
<!-- begin categories and tags -->
{% if page.categories %}
- {% for category in page.categories %}
- <span class="tag">
- {{ category | downcase }}
- </span>
- {% endfor %}
+ <p>
+ Categories:
+ {% for category in page.categories %}
+ <span class="tag">
+ {{ category | downcase }}
+ </span>
+ {% endfor %}
+ </p>
{% endif %}
{% if page.tags %}
- {% for tag in page.tags %}
- <span class="tag">
- {{ tag | downcase }}
- </span>
- {% endfor %}
+ <p>
+ Tags:
+ {% for tag in page.tags %}
+ <span class="tag">
+ #{{ tag | downcase }}
+ </span>
+ {% endfor %}
+ </p>
{% endif %}
<!-- end categories and tags -->
@@ -57,8 +67,10 @@
<!-- begin main content -->
<section class="section">
<div class="container is-fluid">
- <div class="content">
- {{ page.content }}
+ <div class="columns">
+ <div class="content">
+ {{ page.content }}
+ </div>
</div>
</div>
</section>