diff options
author | 53hornet <53hornet@gmail.com> | 2019-04-05 13:03:32 -0400 |
---|---|---|
committer | 53hornet <53hornet@gmail.com> | 2019-04-05 13:03:32 -0400 |
commit | 4384dc784991f8722e5bb3f09064161d0bf1eb9c (patch) | |
tree | 90f53cc9f0a8122bd909eded2b7eace32f65a370 | |
parent | bada2a804faa4e77ec7bf392825079780c9bfd7b (diff) | |
download | cobalt-site-4384dc784991f8722e5bb3f09064161d0bf1eb9c.tar.xz cobalt-site-4384dc784991f8722e5bb3f09064161d0bf1eb9c.zip |
Finished all layouts, added first couple of posts, added favicon.
-rw-r--r-- | _defaults/pages.md | 9 | ||||
-rw-r--r-- | _defaults/posts.md | 3 | ||||
-rw-r--r-- | _includes/nav.liquid | 8 | ||||
-rw-r--r-- | _layouts/index.liquid | 6 | ||||
-rw-r--r-- | _layouts/page.liquid | 6 | ||||
-rw-r--r-- | _layouts/post.liquid | 69 | ||||
-rw-r--r-- | auto.md | 2 | ||||
-rw-r--r-- | favicon.ico | bin | 0 -> 53694 bytes | |||
-rw-r--r-- | posts/2019-04-04-my-first-car-is-a-1953-hudson-hornet.md | 10 | ||||
-rw-r--r-- | posts/why-have-a-web-site-in-2019-aka-cobalt-rs-is-awesome.md | 8 |
10 files changed, 94 insertions, 27 deletions
diff --git a/_defaults/pages.md b/_defaults/pages.md index cda23fd..28b1713 100644 --- a/_defaults/pages.md +++ b/_defaults/pages.md @@ -1,12 +1,3 @@ --- layout: page.liquid --- -## Page! - -## Posts: -{% for post in collections.posts.pages %} -#### {{post.title}} - -## Post Permalinks: -[{{ post.title }}]({{ post.permalink }}) -{% endfor %} diff --git a/_defaults/posts.md b/_defaults/posts.md index 89dc685..9b8659c 100644 --- a/_defaults/posts.md +++ b/_defaults/posts.md @@ -6,7 +6,4 @@ title: New Post tags: [] categories: [] --- - -# A New Post - Start writing already... diff --git a/_includes/nav.liquid b/_includes/nav.liquid index 599591c..5535d64 100644 --- a/_includes/nav.liquid +++ b/_includes/nav.liquid @@ -10,7 +10,7 @@ fadeInDown <!-- begin brand --> <div class="navbar-brand"> <a class="navbar-item" href="/"> - <img src="logo.png"> + <img src="/logo.png"> </a> <p class="navbar-item"> Adam Tristan Carpenter @@ -101,19 +101,19 @@ fadeInDown </p> <a class="navbar-item" - href="tech.html" + href="/tech.html" > Technology </a> <a class="navbar-item" - href="auto.html" + href="/auto.html" > Automotive </a> <a class="navbar-item" - href="life.html" + href="/life.html" > My Life </a> diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 20ec588..9831a26 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -3,8 +3,8 @@ <head> <meta charset="utf-8"> <title>{{ page.title }}</title> - <link rel="stylesheet" href="bulma.css"> - <link rel="stylesheet" href="animate.css"> + <link rel="stylesheet" href="/bulma.css"> + <link rel="stylesheet" href="/animate.css"> </head> <body> @@ -23,7 +23,7 @@ <!-- begin hero body --> <div class="hero-body"> - <div class="container"> + <div class="container is-fluid"> <!-- begin content --> <div class="column"> diff --git a/_layouts/page.liquid b/_layouts/page.liquid index 3d5e1ef..ebb3c7d 100644 --- a/_layouts/page.liquid +++ b/_layouts/page.liquid @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <title>{{ page.title }}</title> - <link rel="stylesheet" href="bulma.css"> + <link rel="stylesheet" href="/bulma.css"> </head> <body> @@ -20,7 +20,7 @@ <!-- begin hero body --> <div class="hero-body"> - <div class="container"> + <div class="container is-fluid"> <h1 class="title"> {{ page.title }} </h1> @@ -33,7 +33,7 @@ <!-- begin main content --> <section class="section"> - <div class="container"> + <div class="container is-fluid"> <div class="columns"> <div class="column"> diff --git a/_layouts/post.liquid b/_layouts/post.liquid index 26e55c6..d39007f 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -3,12 +3,71 @@ <head> <meta charset="utf-8"> <title>{{ page.title }}</title> - <link rel="stylesheet" href="bulma.css"> + <link rel="stylesheet" href="/bulma.css"> </head> + <body> - <div> - <h2 class="title">{{ page.title }}</h2> - {{ page.content }} - </div> + <!-- begin hero --> + <section class=" + hero + is-primary + "> + <!-- begin hero head --> + <div class="hero-head"> + {% include "nav.liquid" %} + </div> + <!-- end hero head --> + + <!-- begin hero body --> + <div class="hero-body"> + <div class="container is-fluid"> + <!-- begin title and date --> + <h1 class="title"> + {{ page.title }} + </h1> + + <h2 class="subtitle"> + {{ page.published_date | date: "%A, %b %e, %Y" }} + </h2> + <!-- end title and date --> + + <!-- begin categories --> + {% if page.categories %} + {% for category in page.categories %} + <h2 class="subtitle"> + {{ category }} + </h2> + {% endfor %} + {% endif %} + <!-- end categories --> + + <!-- begin tags --> + {% if page.tags %} + {% for tag in page.tags %} + <span class="tag"> + {{ tag }} + </span> + {% endfor %} + {% endif %} + <!-- end tags --> + </div> + </div> + <!-- end hero body --> + + </section> + <!-- end hero --> + + <!-- begin main content --> + <section class="section"> + <div class="container is-fluid"> + <div class="content"> + {{ page.content }} + </div> + </div> + </section> + <!-- end main content --> + + {% include "footer.liquid" %} </body> + </html> @@ -2,3 +2,5 @@ title: Automotive layout: page.liquid --- + +Link to galleries! diff --git a/favicon.ico b/favicon.ico Binary files differnew file mode 100644 index 0000000..62c2f88 --- /dev/null +++ b/favicon.ico diff --git a/posts/2019-04-04-my-first-car-is-a-1953-hudson-hornet.md b/posts/2019-04-04-my-first-car-is-a-1953-hudson-hornet.md new file mode 100644 index 0000000..117dcfe --- /dev/null +++ b/posts/2019-04-04-my-first-car-is-a-1953-hudson-hornet.md @@ -0,0 +1,10 @@ +--- +title: My First Car Is a 1953 Hudson Hornet +categories: ["Automotive"] +tags: [] +published_date: "2019-04-04 21:24:33 +0000" +layout: post.liquid +is_draft: false +--- +Start writing already... +![Ole Blue](https://nextcloud.53hor.net/s/5WxtSsq9Lws3Y93/preview) diff --git a/posts/why-have-a-web-site-in-2019-aka-cobalt-rs-is-awesome.md b/posts/why-have-a-web-site-in-2019-aka-cobalt-rs-is-awesome.md new file mode 100644 index 0000000..1c72d65 --- /dev/null +++ b/posts/why-have-a-web-site-in-2019-aka-cobalt-rs-is-awesome.md @@ -0,0 +1,8 @@ +--- +title: Why Have a Web Site in 2019? AKA Cobalt.rs Is Awesome +categories: ["Technology"] +tags: [] +layout: post.liquid +is_draft: true +--- +Start writing already... |