diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/journal.liquid | 4 | ||||
-rw-r--r-- | _layouts/page.liquid | 28 | ||||
-rw-r--r-- | _layouts/post.liquid | 42 |
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> |