diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/index.liquid | 26 | ||||
-rw-r--r-- | _layouts/journal.liquid | 10 |
2 files changed, 27 insertions, 9 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"> diff --git a/_layouts/journal.liquid b/_layouts/journal.liquid index 8d8798c..81f6428 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 recent-posts.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 %} </div> - <!-- end short post list --> + <!-- end long post list --> </div> </div> |