summaryrefslogtreecommitdiff
path: root/_layouts/index.liquid
diff options
context:
space:
mode:
authorAdam Carpenter <gitlab@53hor.net>2019-06-15 21:10:45 -0400
committerAdam Carpenter <gitlab@53hor.net>2019-06-15 21:10:45 -0400
commit402decfde5390d1c84a0a5dd74635de3d7c634c2 (patch)
tree1732099dfe6f0dd3ab04749cd68bfb29e075d250 /_layouts/index.liquid
parent6e06ad857b8fd93a3921c6f40dd8a8a04ccc4b9e (diff)
downloadcobalt-site-402decfde5390d1c84a0a5dd74635de3d7c634c2.tar.xz
cobalt-site-402decfde5390d1c84a0a5dd74635de3d7c634c2.zip
Broke out single post card; updated index with latest post.
Diffstat (limited to '_layouts/index.liquid')
-rw-r--r--_layouts/index.liquid26
1 files changed, 22 insertions, 4 deletions
diff --git a/_layouts/index.liquid b/_layouts/index.liquid
index 39c0084..0c5e8db 100644
--- a/_layouts/index.liquid
+++ b/_layouts/index.liquid
@@ -8,10 +8,10 @@
<body>
<!-- begin hero -->
<section class="hero
- is-primary
- is-fullheight
- is-fullheight-with-navbar
- ">
+ is-primary
+ is-fullheight
+ is-fullheight-with-navbar
+ ">
<!-- begin hero head -->
<div class="hero-head">
{% include "nav.liquid" %}
@@ -77,6 +77,24 @@
</section>
<!-- end hero -->
+ <!-- begin latest post -->
+ <section class="section">
+ <div class="container">
+ <p class="title">
+ Latest Post
+ </p>
+ <p class="subtitle">
+ <a href="/journal">
+ See the whole journal here.
+ </a>
+ </p>
+
+ {% assign post = collections.posts.pages.first %}
+ {% include post-card.liquid %}
+ </div>
+ </section>
+ <!-- end latest post -->
+
<!-- begin main content -->
<section class="section">
<div class="container">