summaryrefslogtreecommitdiff
path: root/_layouts/post.liquid
diff options
context:
space:
mode:
authorAdam Carpenter <gitlab@53hor.net>2019-08-11 11:31:36 -0400
committerAdam Carpenter <gitlab@53hor.net>2019-08-11 11:31:36 -0400
commit91303191c524ab03c5b0a9a6766a8435276a867c (patch)
tree63d6194478e2e2b4648b5275125128b26b1de2cd /_layouts/post.liquid
parent3ba17449541c00757e6c3701c8a87fc0435f0267 (diff)
downloadcobalt-site-91303191c524ab03c5b0a9a6766a8435276a867c.tar.xz
cobalt-site-91303191c524ab03c5b0a9a6766a8435276a867c.zip
Added resume, contact pages, updated css and added new post.
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>