diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-07-11 10:59:50 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-07-11 10:59:50 -0400 |
commit | 66e98b7125c87706782b8247b8e0329473dbeb5a (patch) | |
tree | 4d33c71e5462aa991199159f7fa70c1b3acf355b /_layouts | |
parent | 52daf90e6206a67414b2de2f7b741b9af2cd959a (diff) | |
download | cobalt-site-66e98b7125c87706782b8247b8e0329473dbeb5a.tar.xz cobalt-site-66e98b7125c87706782b8247b8e0329473dbeb5a.zip |
reorganized assets and CSS, added a post
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/index.liquid | 198 |
1 files changed, 96 insertions, 102 deletions
diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 268f780..1fae9ab 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -1,116 +1,110 @@ <!DOCTYPE html> <html> - <head> - {% include "head.liquid" %} - <link rel="stylesheet" href="/public/css/animate.css"> - </head> + <head> + <title>{{ page.title }}</title> + {% include "head.liquid" %} + <link rel="stylesheet" href="/styles/animate.css" /> + </head> - <body> - <!-- begin hero --> - <section class="hero - is-primary - is-fullheight - is-fullheight-with-navbar - "> - <!-- begin hero head --> - <div class="hero-head"> - {% include "nav.liquid" %} - </div> - <!-- end hero head --> - - <!-- begin hero body --> - <div class="hero-body"> - <div class="container"> - <div class="columns"> - <div class="column is-two-fifths"> - - <!-- begin content --> - <div class="column"> - <p class="subtitle is-3"> - Greetings, my name is - </p> - <p class="title is-1"> - Adam Carpenter - </p> - - <div class="content"> - <p> - and I am a... - <ul> - <li> - Professional computer programmer - </li> - <li> - Amateur Hudson driver, mechanic, and caretaker - </li> - <li> - *nix and FreeBSD enthusiast - </li> - <li> - Loving husband and puppy parent - </li> - </ul> - </p> - </div> - - <p> - and this is my website. - </p> + <body> + <!-- begin hero --> + <section class="hero is-primary is-fullheight is-fullheight-with-navbar"> + <!-- begin hero head --> + <div class="hero-head"> + {% include "nav.liquid" %} + </div> + <!-- end hero head --> - <p class="has-text-centered animated jello delay-1s"> - ↓ Keep reading below ↓ - </p> - </div> - <!-- end content --> - - </div> - <div class="column"> - <div class="box animated fadeIn"> - <figure class="image"> - <img src="https://nextcloud.53hor.net/s/JybL4rc3AQZb3Hk/preview"> - </figure> - </div> - </div> - </div> + <!-- begin hero body --> + <div class="hero-body"> + <div class="container"> + <div class="columns"> + <div class="column is-two-fifths"> + <!-- begin content --> + <div class="column"> + <p class="subtitle is-3"> + Greetings, my name is + </p> + <p class="title is-1"> + Adam Carpenter + </p> + <div class="content"> + <p> + and I am a... + </p> + <ul> + <li> + Professional computer programmer + </li> + <li> + Amateur Hudson driver, mechanic, and caretaker + </li> + <li> + *nix and FreeBSD enthusiast + </li> + <li> + Loving husband and puppy parent + </li> + </ul> </div> - </div> - <!-- end hero body --> - - </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> + and this is my website. </p> - {% assign post = collections.posts.pages.first %} - {% include post-card.liquid %} + <p class="has-text-centered animated jello delay-1s"> + ↓ Keep reading below ↓ + </p> + </div> + <!-- end content --> </div> - </section> - <!-- end latest post --> - - <!-- begin main content --> - <section class="section"> - <div class="container"> - <div class="content"> - {{ page.content }} - </div> + <div class="column"> + <div class="box animated fadeIn"> + <figure class="image"> + <img + src="https://nextcloud.53hor.net/s/JybL4rc3AQZb3Hk/preview" + /> + </figure> + </div> </div> - </section> - <!-- end main content --> + </div> + </div> + </div> + <!-- end hero body --> + </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 --> - <footer class="footer"> - {% include "footer.liquid" %} - </footer> - </body> + <!-- begin main content --> + <section class="section"> + <div class="container"> + <div class="content"> + {{ page.content }} + </div> + </div> + </section> + <!-- end main content --> + <footer class="footer"> + {% include "footer.liquid" %} + </footer> + </body> </html> |