summaryrefslogtreecommitdiffstats
path: root/blog/_includes
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-08-01 22:59:09 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-08-01 22:59:09 +0200
commitd3d0634d53cefab7a4505b3f20bbf0b5c6170315 (patch)
tree99a80123ea45d11bc318e0752747db6edd16fb1a /blog/_includes
parent9355b37c99e44109b46b78d15020d188a7ee7226 (diff)
downloadnorsk-urskog-main-d3d0634d53cefab7a4505b3f20bbf0b5c6170315.tar.gz
norsk-urskog-main-d3d0634d53cefab7a4505b3f20bbf0b5c6170315.tar.bz2
norsk-urskog-main-d3d0634d53cefab7a4505b3f20bbf0b5c6170315.zip
Add template for homepage layout.
Diffstat (limited to 'blog/_includes')
-rw-r--r--blog/_includes/footer.html3
-rw-r--r--blog/_includes/head.html13
-rw-r--r--blog/_includes/header.html1
3 files changed, 17 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>