summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-07-11 10:59:50 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-07-11 10:59:50 -0400
commit66e98b7125c87706782b8247b8e0329473dbeb5a (patch)
tree4d33c71e5462aa991199159f7fa70c1b3acf355b /_includes
parent52daf90e6206a67414b2de2f7b741b9af2cd959a (diff)
downloadcobalt-site-66e98b7125c87706782b8247b8e0329473dbeb5a.tar.xz
cobalt-site-66e98b7125c87706782b8247b8e0329473dbeb5a.zip
reorganized assets and CSS, added a post
Diffstat (limited to '_includes')
-rw-r--r--_includes/footer.liquid38
-rw-r--r--_includes/head.liquid11
-rw-r--r--_includes/nav.liquid167
3 files changed, 89 insertions, 127 deletions
diff --git a/_includes/footer.liquid b/_includes/footer.liquid
index f1bfa52..af4831d 100644
--- a/_includes/footer.liquid
+++ b/_includes/footer.liquid
@@ -1,35 +1,7 @@
<div class="container">
- <div class="content has-text-centered">
- <p>
- 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://git.53hor.net/?p=cobalt-site.git;a=summary">
- fix it yourself!
- </a>
- </p>
- <p>
- Built using
- <a href="https://cobalt-org.github.io/">
- Cobalt.rs
- </a>
- ,
- <a href="https://bulma.io">
- Bulma.io
- </a>
- ,
- <a href="https://daneden.github.io/animate.css/">
- Animate.css
- </a>
- , and self-hosted with
- <a href="https://nginx.org/">
- NGINX
- </a>
- </p>
- </div>
+ <div class="content has-text-centered">
+ <p>
+ Site last updated {{ "now" | date: "%A, %b %e, %Y" }}
+ </p>
+ </div>
</div>
diff --git a/_includes/head.liquid b/_includes/head.liquid
index 5bac44f..e392263 100644
--- a/_includes/head.liquid
+++ b/_includes/head.liquid
@@ -1,7 +1,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<link rel="stylesheet" href="/public/css/styles.css">
-<title>{{ page.title }}</title>
+<link rel="stylesheet" href="/styles/styles.css">
<!-- Open Graph Protocol -->
<meta property="og:site_name" content="53hornet"/>
@@ -14,11 +13,11 @@
<meta property="og:article:section" content="{{ page.categories }}"/>
{% if page.published_date %}
- <meta property="og:article:published_time" content="{{ page.published_date }}"/>
+ <meta property="og:article:published_time" content="{{ page.published_date }}"/>
{% endif %}
{% if page.tags %}
- {% for tag in page.tags %}
- <meta property="og:article:tag" content="{{ tag }}"/>
- {% endfor %}
+ {% for tag in page.tags %}
+ <meta property="og:article:tag" content="{{ tag }}"/>
+ {% endfor %}
{% endif %}
diff --git a/_includes/nav.liquid b/_includes/nav.liquid
index ea497f2..ae6a63e 100644
--- a/_includes/nav.liquid
+++ b/_includes/nav.liquid
@@ -1,87 +1,83 @@
<!-- begin navbar -->
<div class="container">
- <nav class="navbar is-primary">
- <!-- begin brand -->
- <div class="navbar-brand">
- <a class="navbar-item"
- title="Home"
- href="/"
- >
- <img src="/public/images/logo.png">
- </a>
- <a class="navbar-item"
- href="/rss.xml"
- title="RSS Feed"
- download="rss.xml"
- >
- <span class="icon">
- {% include mdi-rss-box.html %}
- </span>
- </a>
+ <nav class="navbar is-primary">
+ <!-- begin brand -->
+ <div class="navbar-brand">
+ <a class="navbar-item" title="Home" href="/">
+ <img src="/assets/logo.png" />
+ </a>
+ <a
+ class="navbar-item"
+ href="/rss.xml"
+ title="RSS Feed"
+ download="rss.xml"
+ >
+ <span class="icon">
+ {% include mdi-rss-box.html %}
+ </span>
+ </a>
- <a class="navbar-item"
- href="mailto:atc@53hor.net"
- title="E-mail"
- >
- <span class="icon">
- {% include mdi-mail.html %}
- </span>
- </a>
+ <a class="navbar-item" href="mailto:atc@53hor.net" title="E-mail">
+ <span class="icon">
+ {% include mdi-mail.html %}
+ </span>
+ </a>
- <a class="navbar-item"
- href="https://git.53hor.net"
- title="Git Repositories"
- target="_blank"
- >
- <span class="icon">
- {% include mdi-git.html %}
- </span>
- </a>
+ <a
+ class="navbar-item"
+ href="https://git.53hor.net"
+ title="Git Repositories"
+ target="_blank"
+ >
+ <span class="icon">
+ {% include mdi-git.html %}
+ </span>
+ </a>
- <a class="navbar-item"
- href="https://youtube.com/user/my53hornet"
- title="53hornet YouTube Channel"
- target="_blank"
- >
- <span class="icon">
- {% include mdi-youtube.html %}
- </span>
- </a>
+ <a
+ class="navbar-item"
+ href="https://youtube.com/user/my53hornet"
+ title="53hornet YouTube Channel"
+ target="_blank"
+ >
+ <span class="icon">
+ {% include mdi-youtube.html %}
+ </span>
+ </a>
- <a class="navbar-item"
- href="https://www.youtube.com/user/STMUAC"
- title="STMUAC YouTube Channel"
- target="_blank"
- >
- <span class="icon">
- {% include mdi-video-vintage.html %}
- </span>
- </a>
+ <a
+ class="navbar-item"
+ href="https://www.youtube.com/user/STMUAC"
+ title="STMUAC YouTube Channel"
+ target="_blank"
+ >
+ <span class="icon">
+ {% include mdi-video-vintage.html %}
+ </span>
+ </a>
- <a class="navbar-item"
- href="https://www.linkedin.com/in/adam-carpenter/"
- title="LinkedIn"
- target="_blank"
- >
- <span class="icon">
- {% include mdi-linkedin.html %}
- </span>
- </a>
+ <a
+ class="navbar-item"
+ href="https://www.linkedin.com/in/adam-carpenter/"
+ title="LinkedIn"
+ target="_blank"
+ >
+ <span class="icon">
+ {% include mdi-linkedin.html %}
+ </span>
+ </a>
+ </div>
+ <!-- end brand -->
- </div>
- <!-- end brand -->
+ <!-- begin menu -->
+ <div class="navbar-menu is-active">
+ <!-- begin start -->
+ <div class="navbar-start"></div>
+ <!-- end start -->
- <!-- begin menu -->
- <div class="navbar-menu is-active">
-
- <!-- begin start -->
- <div class="navbar-start">
- </div>
- <!-- end start -->
-
- <!-- begin end -->
- <div class="navbar-end">
- <!--<a class="navbar-item"
+ <!-- begin end -->
+ <div class="navbar-end">
+ <!--<a class="navbar-item"
href-"/53hornet"
>
53hornet Project
@@ -93,18 +89,13 @@
Driver
</a>-->
- <a class="navbar-item"
- href="/journal"
- >
- Journal
- </a>
- </div>
- <!-- end end -->
-
- </div>
- <!-- end menu -->
-
- </nav>
+ <a class="navbar-item" href="/journal">
+ Journal
+ </a>
+ </div>
+ <!-- end end -->
+ </div>
+ <!-- end menu -->
+ </nav>
</div>
<!-- end navbar -->
-