summaryrefslogtreecommitdiff
path: root/_layouts/post.liquid
diff options
context:
space:
mode:
author53hornet <53hornet@gmail.com>2019-04-05 13:03:32 -0400
committer53hornet <53hornet@gmail.com>2019-04-05 13:03:32 -0400
commit4384dc784991f8722e5bb3f09064161d0bf1eb9c (patch)
tree90f53cc9f0a8122bd909eded2b7eace32f65a370 /_layouts/post.liquid
parentbada2a804faa4e77ec7bf392825079780c9bfd7b (diff)
downloadcobalt-site-4384dc784991f8722e5bb3f09064161d0bf1eb9c.tar.xz
cobalt-site-4384dc784991f8722e5bb3f09064161d0bf1eb9c.zip
Finished all layouts, added first couple of posts, added favicon.
Diffstat (limited to '_layouts/post.liquid')
-rw-r--r--_layouts/post.liquid69
1 files changed, 64 insertions, 5 deletions
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>