summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/index.liquid6
-rw-r--r--_layouts/page.liquid6
-rw-r--r--_layouts/post.liquid69
3 files changed, 70 insertions, 11 deletions
diff --git a/_layouts/index.liquid b/_layouts/index.liquid
index 20ec588..9831a26 100644
--- a/_layouts/index.liquid
+++ b/_layouts/index.liquid
@@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
- <link rel="stylesheet" href="bulma.css">
- <link rel="stylesheet" href="animate.css">
+ <link rel="stylesheet" href="/bulma.css">
+ <link rel="stylesheet" href="/animate.css">
</head>
<body>
@@ -23,7 +23,7 @@
<!-- begin hero body -->
<div class="hero-body">
- <div class="container">
+ <div class="container is-fluid">
<!-- begin content -->
<div class="column">
diff --git a/_layouts/page.liquid b/_layouts/page.liquid
index 3d5e1ef..ebb3c7d 100644
--- a/_layouts/page.liquid
+++ b/_layouts/page.liquid
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
- <link rel="stylesheet" href="bulma.css">
+ <link rel="stylesheet" href="/bulma.css">
</head>
<body>
@@ -20,7 +20,7 @@
<!-- begin hero body -->
<div class="hero-body">
- <div class="container">
+ <div class="container is-fluid">
<h1 class="title">
{{ page.title }}
</h1>
@@ -33,7 +33,7 @@
<!-- begin main content -->
<section class="section">
- <div class="container">
+ <div class="container is-fluid">
<div class="columns">
<div class="column">
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>