summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/index.liquid43
-rw-r--r--_layouts/journal.liquid12
-rw-r--r--_layouts/post.liquid2
3 files changed, 46 insertions, 11 deletions
diff --git a/_layouts/index.liquid b/_layouts/index.liquid
index 39c0084..a2dc7b8 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,41 @@
</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 -->
+
+ <!-- start level -->
+ <nav class="level">
+ <div class="level-item has-text-centered">
+ <div>
+ <p class="heading">
+ Git Repos
+ </p>
+ <p class="title">
+ <span class="icon">
+ {% include mdi-git.html %}
+ </span>
+ </p>
+ </div>
+ </div>
+ </nav>
+ <!-- end level -->
+
<!-- begin main content -->
<section class="section">
<div class="container">
diff --git a/_layouts/journal.liquid b/_layouts/journal.liquid
index 8d8798c..4478778 100644
--- a/_layouts/journal.liquid
+++ b/_layouts/journal.liquid
@@ -37,17 +37,17 @@
<div class="container">
<div class="columns">
- <!-- begin long post list -->
+ <!-- begin short post list -->
<div class="column">
- {% include post-list.liquid %}
+ {% include posts-recent.liquid %}
</div>
- <!-- end long post list -->
+ <!-- end short post list -->
- <!-- begin short post list -->
+ <!-- begin long post list -->
<div class="column is-narrow">
- {% include all-posts.liquid %}
+ {% include posts-all.liquid %}
</div>
- <!-- end short post list -->
+ <!-- end long post list -->
</div>
</div>
diff --git a/_layouts/post.liquid b/_layouts/post.liquid
index 80831a2..d945917 100644
--- a/_layouts/post.liquid
+++ b/_layouts/post.liquid
@@ -70,7 +70,7 @@
</div>
<div class="column is-narrow">
- {% include similar-posts.liquid %}
+ {% include posts-similar.liquid %}
</div>
</div>
</div>