summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--blog/_includes/footer.html3
-rw-r--r--blog/_includes/head.html13
-rw-r--r--blog/_includes/header.html1
-rw-r--r--blog/_layouts/homepage.html17
-rw-r--r--blog/index.html3
5 files changed, 37 insertions, 0 deletions
diff --git a/blog/_includes/footer.html b/blog/_includes/footer.html
new file mode 100644
index 0000000..1a3f0dd
--- /dev/null
+++ b/blog/_includes/footer.html
@@ -0,0 +1,3 @@
+<footer>
+ &copy; Copyright {{ site.time | date: "%Y" }} Norsk Urskog
+</footer>
diff --git a/blog/_includes/head.html b/blog/_includes/head.html
new file mode 100644
index 0000000..cd2fa6c
--- /dev/null
+++ b/blog/_includes/head.html
@@ -0,0 +1,13 @@
+<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="{{ "/css/main.css" | prepend: site.baseurl }}">
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
+ <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/default.min.css">
+ <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script>
+ </head>
diff --git a/blog/_includes/header.html b/blog/_includes/header.html
new file mode 100644
index 0000000..031ec77
--- /dev/null
+++ b/blog/_includes/header.html
@@ -0,0 +1 @@
+<h1>Welcome to Norsk Urskog</h1>
diff --git a/blog/_layouts/homepage.html b/blog/_layouts/homepage.html
new file mode 100644
index 0000000..d252872
--- /dev/null
+++ b/blog/_layouts/homepage.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ {% include head.html %}
+ <body>
+
+ {% include header.html %}
+
+ <div class="page-content">
+ <div class="wrapper">
+ {{ content }}
+ </div>
+ </div>
+
+ {% include footer.html %}
+
+ </body>
+</html>
diff --git a/blog/index.html b/blog/index.html
index e69de29..f78869c 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -0,0 +1,3 @@
+---
+layout: homepage
+---