summaryrefslogtreecommitdiff
path: root/_layouts
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
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')
-rw-r--r--_layouts/journal.liquid4
-rw-r--r--_layouts/page.liquid28
-rw-r--r--_layouts/post.liquid42
3 files changed, 29 insertions, 45 deletions
diff --git a/_layouts/journal.liquid b/_layouts/journal.liquid
index 4478778..36ec28b 100644
--- a/_layouts/journal.liquid
+++ b/_layouts/journal.liquid
@@ -20,10 +20,10 @@
<div class="hero-body">
<div class="container">
<h1 class="title">
- Journal
+ {{ page.title }}
</h1>
<h2 class="subtitle">
- Is it a blog? Probably.
+ {{ page.description }}
</h2>
</div>
</div>
diff --git a/_layouts/page.liquid b/_layouts/page.liquid
index 28e8e20..343ff90 100644
--- a/_layouts/page.liquid
+++ b/_layouts/page.liquid
@@ -6,7 +6,10 @@
<body>
<!-- begin hero -->
- <section class="hero is-primary">
+ <section class="
+ hero
+ is-primary
+ ">
<!-- begin hero head -->
<div class="hero-head">
{% include "nav.liquid" %}
@@ -19,6 +22,9 @@
<h1 class="title">
{{ page.title }}
</h1>
+ <h2 class="subtitle">
+ {{ page.description }}
+ </h2>
</div>
</div>
<!-- end hero body -->
@@ -26,27 +32,15 @@
</section>
<!-- end hero -->
- <!-- begin main content -->
+ <!-- begin content -->
<section class="section">
<div class="container">
- <div class="columns">
-
- <div class="column">
- <div class="content">
- {{ page.content }}
- </div>
- </div>
-
- <div class="column is-narrow">
- <aside>
- {% include "toc.liquid" %}
- </aside>
- </div>
-
+ <div class="content">
+ {{ page.content }}
</div>
</div>
</section>
- <!-- end main content -->
+ <!-- end content -->
<footer class="footer">
{% include "footer.liquid" %}
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>