summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_includes/footer.html1
-rw-r--r--_includes/head.html11
-rw-r--r--_includes/header.html21
-rw-r--r--_layouts/default.html16
-rw-r--r--_layouts/post.html3
-rw-r--r--index.html3
6 files changed, 55 insertions, 0 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
new file mode 100644
index 0000000..59bbbd4
--- /dev/null
+++ b/_includes/footer.html
@@ -0,0 +1 @@
+<script src="/assets/js/bootstrap.min.js"></script>
diff --git a/_includes/head.html b/_includes/head.html
new file mode 100644
index 0000000..b1c8ce5
--- /dev/null
+++ b/_includes/head.html
@@ -0,0 +1,11 @@
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
+ <meta name="description" content="{{ site.description }}">
+
+ <link rel="stylesheet" href="/assets/css/bootstrap.min.css">
+ <link rel="stylesheet" href="/assets/css/style.css">
+</head>
diff --git a/_includes/header.html b/_includes/header.html
new file mode 100644
index 0000000..8363b10
--- /dev/null
+++ b/_includes/header.html
@@ -0,0 +1,21 @@
+<nav class="navbar navbar-inverse navbar-fixed-top">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">
+ <img alt="Irssi Logo" class="navbar-irssi-logo" src="/assets/logo.png">
+ {{ site.title }}
+ </a>
+ </div>
+ <div id="navbar" class="collapse navbar-collapse">
+ <ul class="nav navbar-nav">
+ <li class="active"><a href="/">Home</a></li>
+ </ul>
+ </div>
+ </div>
+</nav>
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..1ab31f9
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+ {% include head.html %}
+
+ <body>
+ {% include header.html %}
+
+ <div class="page-content">
+ <div class="container">
+ {{ content }}
+ </div>
+ </div>
+
+ {% include footer.html %}
+ </body>
+</html>
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..0d6905d
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,3 @@
+---
+layout: default
+---
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..0d6905d
--- /dev/null
+++ b/index.html
@@ -0,0 +1,3 @@
+---
+layout: default
+---