summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_cobalt.yml2
-rw-r--r--_includes/footer.liquid20
-rw-r--r--_includes/nav.liquid109
-rw-r--r--_layouts/journal.liquid86
-rw-r--r--pages/auto.md6
-rw-r--r--pages/journal.md6
-rw-r--r--pages/life.md6
-rw-r--r--pages/tech.md6
8 files changed, 145 insertions, 96 deletions
diff --git a/_cobalt.yml b/_cobalt.yml
index b5ef267..5f1ed83 100644
--- a/_cobalt.yml
+++ b/_cobalt.yml
@@ -1,4 +1,4 @@
-ignore: ["readme.md"]
+ignore: ["readme.md", "README.md"]
site:
title: 53hornet
description: The personal webpages of Adam Tristan Carpenter
diff --git a/_includes/footer.liquid b/_includes/footer.liquid
index b451dfb..8feaa9c 100644
--- a/_includes/footer.liquid
+++ b/_includes/footer.liquid
@@ -3,6 +3,16 @@
Site last updated {{ "now" | date: "%A, %b %e, %Y" }}
</p>
<p>
+ See a problem?
+ <a href=" mailto:atc@53hor.net?subject=Found%20your%20website!">
+ Tell me so I can fix it
+ </a>
+ or
+ <a href="https://gitlab.com/53hornet/cobalt-site">
+ fix it yourself!
+ </a>
+ </p>
+ <p>
Built using
<a href="https://cobalt-org.github.io/">
Cobalt.rs
@@ -20,14 +30,4 @@
NGINX
</a>
</p>
- <p>
- See a problem?
- <a href=" mailto:atc@53hor.net?subject=Found%20your%20website!">
- Tell me so I can fix it
- </a>
- or
- <a href="https://gitlab.com/53hornet/cobalt-site">
- fix it yourself!
- </a>
- </p>
</div>
diff --git a/_includes/nav.liquid b/_includes/nav.liquid
index cada13d..3a1fa0c 100644
--- a/_includes/nav.liquid
+++ b/_includes/nav.liquid
@@ -1,63 +1,54 @@
<!-- begin navbar -->
-<nav class="
-navbar
-is-primary
-animated
-bounceInDown
-">
+<nav
+ class="navbar is-primary animated bounceInDown">
<!-- begin brand -->
<div class="navbar-brand">
<a class="navbar-item" href="/">
<img src="/public/images/logo.png">
</a>
- <a
- class="navbar-item"
- href="/rss.xml"
- target="_blank"
- >
- <span class="icon">
- {% include mdi-rss-box.html %}
- </span>
+ <a class="navbar-item"
+ href="/rss.xml"
+ target="_blank"
+ >
+ <span class="icon">
+ {% include mdi-rss-box.html %}
+ </span>
</a>
- <a
- class="navbar-item"
- href="https://gitlab.com/53hornet"
- target="_blank"
- >
- <span class="icon">
- {% include mdi-gitlab.html %}
- </span>
+ <a class="navbar-item"
+ href="https://gitlab.com/53hornet"
+ target="_blank"
+ >
+ <span class="icon">
+ {% include mdi-gitlab.html %}
+ </span>
</a>
-
- <a
- class="navbar-item"
- href="https://youtube.com/user/my53hornet"
- target="_blank"
- >
- <span class="icon">
- {% include mdi-youtube.html %}
- </span>
+
+ <a class="navbar-item"
+ href="https://youtube.com/user/my53hornet"
+ target="_blank"
+ >
+ <span class="icon">
+ {% include mdi-youtube.html %}
+ </span>
</a>
-
- <a
- class="navbar-item"
- href="https://www.youtube.com/user/STMUAC"
- target="_blank"
- >
- <span class="icon">
- {% include mdi-video-vintage.html %}
- </span>
+
+ <a class="navbar-item"
+ href="https://www.youtube.com/user/STMUAC"
+ target="_blank"
+ >
+ <span class="icon">
+ {% include mdi-video-vintage.html %}
+ </span>
</a>
- <a
- class="navbar-item"
- href="https://www.linkedin.com/in/adam-carpenter/"
- target="_blank"
- >
- <span class="icon">
- {% include mdi-linkedin.html %}
- </span>
+ <a class="navbar-item"
+ href="https://www.linkedin.com/in/adam-carpenter/"
+ target="_blank"
+ >
+ <span class="icon">
+ {% include mdi-linkedin.html %}
+ </span>
</a>
</div>
@@ -68,31 +59,15 @@ bounceInDown
<!-- begin start -->
<div class="navbar-start">
- <p class="navbar-item">
- Adam Tristan Carpenter
- </p>
</div>
<!-- end start -->
<!-- begin end -->
<div class="navbar-end">
- <a
- class="navbar-item"
- href="/tech"
- >
- Technology
- </a>
- <a
- class="navbar-item"
- href="/auto"
- >
- Automotive
- </a>
- <a
- class="navbar-item"
- href="/life"
+ <a class="navbar-item"
+ href="/journal"
>
- My Life
+ Journal
</a>
</div>
<!-- end end -->
diff --git a/_layouts/journal.liquid b/_layouts/journal.liquid
new file mode 100644
index 0000000..19891bf
--- /dev/null
+++ b/_layouts/journal.liquid
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ {% include "head.liquid" %}
+ </head>
+
+ <body>
+ <!-- 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">
+ <h1 class="title">
+ {{ page.title }}
+ </h1>
+ </div>
+ </div>
+ <!-- end hero body -->
+
+ </section>
+ <!-- end hero -->
+
+ <!-- begin main content -->
+ <section class="section">
+ <div class="container">
+
+ <div class="content">
+ {{ page.content }}
+ </div>
+
+ </div>
+ </section>
+ <!-- end main content -->
+
+ <!-- begin blog posts -->
+ <section class="section">
+ <div class="container">
+ <div class="columns">
+
+ <!-- begin short post list -->
+ <div class="column is-narrow">
+ <aside class="menu">
+ <p class="menu-label">
+ All Posts
+ </p>
+
+ <ul class="menu-list">
+ {% assign title = page.title | downcase %}
+
+ {% for post in collections.posts.pages %}
+ <li>
+ <a href="{{ post.permalink }}">
+ {{ post.title }}
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+ </aside>
+ </div>
+ <!-- end short post list -->
+
+ <!-- begin long post list -->
+ <div class="column">
+ </div>
+ <!-- end long post list -->
+
+ </div>
+ </div>
+ </section>
+ <!-- end blog posts -->
+
+ <footer class="footer">
+ {% include "footer.liquid" %}
+ </footer>
+ </body>
+
+</html>
diff --git a/pages/auto.md b/pages/auto.md
deleted file mode 100644
index 20a6811..0000000
--- a/pages/auto.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Automotive
-layout: page.liquid
-permalink: "/{{slug}}"
----
-# Below are all of the posts in the "automotive" category
diff --git a/pages/journal.md b/pages/journal.md
new file mode 100644
index 0000000..00386e3
--- /dev/null
+++ b/pages/journal.md
@@ -0,0 +1,6 @@
+---
+title: Journal
+layout: journal.liquid
+permalink: "/{{slug}}"
+---
+# Is it a blog? Probably.
diff --git a/pages/life.md b/pages/life.md
deleted file mode 100644
index 0be3fc8..0000000
--- a/pages/life.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: My Life
-layout: page.liquid
-permalink: "/{{slug}}"
----
-More to come soon!
diff --git a/pages/tech.md b/pages/tech.md
deleted file mode 100644
index 4c2c13a..0000000
--- a/pages/tech.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Technology
-layout: page.liquid
-permalink: "/{{slug}}"
----
-More to come soon!