From a187a89bc60994f9bd58b6c31f6f3f4275bcb195 Mon Sep 17 00:00:00 2001 From: 53hornet <53hornet@gmail.com> Date: Thu, 4 Apr 2019 17:05:43 -0400 Subject: Finished index layout, page layout; split out common includes. --- _defaults/posts.md | 4 +- _includes/footer.liquid | 34 +++++++ _includes/nav.liquid | 128 +++++++++++++++++++++++++ _includes/toc.liquid | 21 +++++ _layouts/index.liquid | 135 +++----------------------- _layouts/page.liquid | 146 +++++------------------------ auto.md | 4 + bulma.sass | 2 +- index.md | 6 ++ life.md | 4 + posts/2019-03-30-post-1.md | 9 -- posts/2019-04-04-clem.md | 12 +++ posts/2019-04-04-commodore.md | 12 +++ posts/2019-04-04-hudsons.md | 12 +++ posts/why-the-53-sedan-is-so-cool-to-me.md | 11 --- tech.md | 4 + 16 files changed, 277 insertions(+), 267 deletions(-) create mode 100644 _includes/footer.liquid create mode 100644 _includes/nav.liquid create mode 100644 _includes/toc.liquid create mode 100644 auto.md create mode 100644 life.md delete mode 100644 posts/2019-03-30-post-1.md create mode 100644 posts/2019-04-04-clem.md create mode 100644 posts/2019-04-04-commodore.md create mode 100644 posts/2019-04-04-hudsons.md delete mode 100644 posts/why-the-53-sedan-is-so-cool-to-me.md create mode 100644 tech.md diff --git a/_defaults/posts.md b/_defaults/posts.md index 8ea863d..89dc685 100644 --- a/_defaults/posts.md +++ b/_defaults/posts.md @@ -1,8 +1,10 @@ --- +is_draft: true layout: post.liquid title: New Post -is_draft: true +tags: [] +categories: [] --- # A New Post diff --git a/_includes/footer.liquid b/_includes/footer.liquid new file mode 100644 index 0000000..080842e --- /dev/null +++ b/_includes/footer.liquid @@ -0,0 +1,34 @@ + + + diff --git a/_includes/nav.liquid b/_includes/nav.liquid new file mode 100644 index 0000000..599591c --- /dev/null +++ b/_includes/nav.liquid @@ -0,0 +1,128 @@ + + + + diff --git a/_includes/toc.liquid b/_includes/toc.liquid new file mode 100644 index 0000000..7e43a04 --- /dev/null +++ b/_includes/toc.liquid @@ -0,0 +1,21 @@ + +
+ +
+ diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 5e65fbf..20ec588 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -4,6 +4,7 @@ {{ page.title }} + @@ -16,116 +17,24 @@ ">
-
- - - - - -
+ {% include "nav.liquid" %}
- +
-
- - -
-

- {{ page.title }} -

-
- - - -
-
- -
-
- + +
+

+ {{ page.title }} +

+ {{ page.content }}
+ +
@@ -133,27 +42,7 @@ - - - - + {% include "footer.liquid" %} diff --git a/_layouts/page.liquid b/_layouts/page.liquid index 7dc01b7..3d5e1ef 100644 --- a/_layouts/page.liquid +++ b/_layouts/page.liquid @@ -9,145 +9,47 @@
+ hero + is-primary + ">
-
- - - - - -
+ {% include "nav.liquid" %}
- +
-

+

{{ page.title }} -

- - {{ page.content }} +
- - - -
- - - + + + {% include "footer.liquid" %} diff --git a/auto.md b/auto.md new file mode 100644 index 0000000..fbb72af --- /dev/null +++ b/auto.md @@ -0,0 +1,4 @@ +--- +title: Automotive +layout: page.liquid +--- diff --git a/bulma.sass b/bulma.sass index 0d7ae5a..21407dc 100644 --- a/bulma.sass +++ b/bulma.sass @@ -11,4 +11,4 @@ $primary: $balboa; @import "_sass/components/_all"; @import "_sass/grid/_all"; @import "_sass/layout/_all"; -@import "animate.css"; +//@import "animate.css"; diff --git a/index.md b/index.md index ccc521e..63010d4 100644 --- a/index.md +++ b/index.md @@ -1,4 +1,10 @@ --- layout: index.liquid title: My name is Adam Carpenter +categories: ["index"] --- +And this is my web site. + +Wait you have a blog? In 2019?! + +All kinds of posts pertaining to my interests at the top of the page diff --git a/life.md b/life.md new file mode 100644 index 0000000..c59d83e --- /dev/null +++ b/life.md @@ -0,0 +1,4 @@ +--- +title: My Life +layout: page.liquid +--- diff --git a/posts/2019-03-30-post-1.md b/posts/2019-03-30-post-1.md deleted file mode 100644 index cc70586..0000000 --- a/posts/2019-03-30-post-1.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: First Post -published_date: "2019-03-30 20:42:44 +0000" -layout: post.liquid -is_draft: false ---- -# This is our first Post! - -Welcome to the first post ever on cobalt.rs! diff --git a/posts/2019-04-04-clem.md b/posts/2019-04-04-clem.md new file mode 100644 index 0000000..9695d3c --- /dev/null +++ b/posts/2019-04-04-clem.md @@ -0,0 +1,12 @@ +--- +title: clem +categories: + - life +tags: [] +published_date: "2019-04-04 14:01:23 +0000" +layout: post.liquid +is_draft: false +--- +# A New Post + +Start writing already... diff --git a/posts/2019-04-04-commodore.md b/posts/2019-04-04-commodore.md new file mode 100644 index 0000000..041938a --- /dev/null +++ b/posts/2019-04-04-commodore.md @@ -0,0 +1,12 @@ +--- +title: commodore +categories: + - Technology +tags: [] +published_date: "2019-04-04 14:01:23 +0000" +layout: post.liquid +is_draft: false +--- +# A New Post + +Start writing already... diff --git a/posts/2019-04-04-hudsons.md b/posts/2019-04-04-hudsons.md new file mode 100644 index 0000000..3e550b7 --- /dev/null +++ b/posts/2019-04-04-hudsons.md @@ -0,0 +1,12 @@ +--- +title: hudsons +categories: + - auto +tags: [] +published_date: "2019-04-04 14:01:23 +0000" +layout: post.liquid +is_draft: false +--- +# A New Post + +Start writing already... diff --git a/posts/why-the-53-sedan-is-so-cool-to-me.md b/posts/why-the-53-sedan-is-so-cool-to-me.md deleted file mode 100644 index 37da3fa..0000000 --- a/posts/why-the-53-sedan-is-so-cool-to-me.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: "Why the '53 Sedan Is So Cool to Me" -layout: post.liquid ---- -## Blog! - -{% for post in collections.posts.pages %} -#### {{post.title}} - -[{{ post.title }}]({{ post.permalink }}) -{% endfor %} diff --git a/tech.md b/tech.md new file mode 100644 index 0000000..8e92d05 --- /dev/null +++ b/tech.md @@ -0,0 +1,4 @@ +--- +title: Technology +layout: page.liquid +--- -- cgit v1.2.3