summaryrefslogtreecommitdiff
path: root/_layouts/index.liquid
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/index.liquid')
-rw-r--r--_layouts/index.liquid135
1 files changed, 12 insertions, 123 deletions
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 @@
<meta charset="utf-8">
<title>{{ page.title }}</title>
<link rel="stylesheet" href="bulma.css">
+ <link rel="stylesheet" href="animate.css">
</head>
<body>
@@ -16,116 +17,24 @@
">
<!-- begin hero head -->
<div class="hero-head">
- <div class="container">
-
- <!-- begin navbar -->
- <nav class="navbar animated fadeInDown">
- <!-- begin brand -->
- <div class="navbar-brand">
- <a class="navbar-item" href="/">
- <img src="logo.png">
- </a>
- </div>
- <!-- end brand -->
-
- <!-- begin menu -->
- <div class="navbar-menu is-active">
-
- <!-- begin start -->
- <div class="navbar-start">
- <a class="navbar-item">
- YouTube
- </a>
-
- <a class="navbar-item">
- GitLab
- </a>
-
- <a class="navbar-item">
- LinkedIn
- </a>
-
- </div>
- <!-- end start -->
-
- <!-- begin end -->
- <div class="navbar-end">
- <a class="navbar-item">
- Subscribe to RSS Feed
- </a>
- </div>
- <!-- end end -->
-
- </div>
- <!-- end menu -->
-
- </nav>
- <!-- end navbar -->
-
- </div>
+ {% include "nav.liquid" %}
</div>
- <!-- end hero header -->
+ <!-- end hero head -->
<!-- begin hero body -->
<div class="hero-body">
<div class="container">
- <div class="columns">
-
- <!-- begin content -->
- <div class="column">
- <h1 class="title is-1">
- {{ page.title }}
- </h1>
- </div>
- <!-- end content -->
-
- <!-- begin TOC -->
- <div class="
- column
- is-narrow
- animated
- fadeInRight
- ">
- <div class="box">
- <aside class="menu">
- <p class="menu-label">
- Automotive
- </p>
- <ul class="menu-list">
- <li>
- {% for post in collections.posts.pages %}
- <a href="{{ post.permalink }}">
- {{ post.title }}
- </a>
- {% endfor %}
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- <a>test</a>
- </li>
- </ul>
- <p class="menu-label">
- Technology
- </p>
- <p class="menu-label">
- Life
- </p>
- </aside>
- </div>
- </div>
- <!-- end TOC -->
+ <!-- begin content -->
+ <div class="column">
+ <h1 class="title">
+ {{ page.title }}
+ </h1>
+ {{ page.content }}
</div>
+ <!-- end content -->
+
</div>
</div>
<!-- end hero body -->
@@ -133,27 +42,7 @@
</section>
<!-- end hero -->
- <!-- begin footer -->
- <footer class="footer">
- <div class="content has-text-centered">
- <p>
- This static site was built using Cobalt.rs, Bulma.io,
- Animate.css, and is self-hosted with Nginx
- </p>
- <p>
- See a problem?
- <a href="#">
- Tell me so I can fix it
- </a>
- or
- <a href="#">
- fix it yourself!
- </a>
- </p>
- </div>
- </footer>
- <!-- end footer -->
-
+ {% include "footer.liquid" %}
</body>
</html>