summaryrefslogtreecommitdiff
path: root/_layouts/post.liquid
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/post.liquid')
-rw-r--r--_layouts/post.liquid47
1 files changed, 24 insertions, 23 deletions
diff --git a/_layouts/post.liquid b/_layouts/post.liquid
index 50fb240..80831a2 100644
--- a/_layouts/post.liquid
+++ b/_layouts/post.liquid
@@ -6,10 +6,7 @@
<body>
<!-- begin hero -->
- <section class="
- hero
- is-primary
- ">
+ <section class="hero is-primary">
<!-- begin hero head -->
<div class="hero-head">
{% include "nav.liquid" %}
@@ -34,27 +31,25 @@
<!-- end title and date -->
<!-- begin categories and tags -->
+ <p>
{% if page.categories %}
- <p>
- Categories:
- {% for category in page.categories %}
- <span class="tag">
- {{ category | downcase }}
- </span>
- {% endfor %}
- </p>
+ Categories:
+ {% for category in page.categories %}
+ <span class="tag is-rounded">
+ {{ category | downcase }}
+ </span>
+ {% endfor %}
{% endif %}
{% if page.tags %}
- <p>
- Tags:
- {% for tag in page.tags %}
- <span class="tag">
- #{{ tag | downcase }}
- </span>
- {% endfor %}
- </p>
+ Tags:
+ {% for tag in page.tags %}
+ <span class="tag is-rounded">
+ #{{ tag | downcase }}
+ </span>
+ {% endfor %}
{% endif %}
+ </p>
<!-- end categories and tags -->
</div>
@@ -68,8 +63,14 @@
<section class="section">
<div class="container">
<div class="columns">
- <div class="content">
- {{ page.content }}
+ <div class="column">
+ <div class="content">
+ {{ page.content }}
+ </div>
+ </div>
+
+ <div class="column is-narrow">
+ {% include similar-posts.liquid %}
</div>
</div>
</div>
@@ -79,6 +80,6 @@
<footer class="footer">
{% include "footer.liquid" %}
</footer>
- </body>
+ </body>
</html>