summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html28
-rw-r--r--_layouts/post.html9
2 files changed, 37 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..ace44ce
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <title>{{ page.title }}</title>
+ <meta name="viewport" content="width=device-width">
+
+ <!-- syntax highlighting CSS -->
+ <link rel="stylesheet" href="/css/syntax.css">
+
+ <!-- Custom CSS -->
+ <link rel="stylesheet" href="/css/main.css">
+
+ </head>
+ <body>
+
+ <div class="site">
+ {% include header.html %}
+
+ {{ content }}
+
+ {% include footer.html %}
+
+ </div>
+
+ </body>
+</html>
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..04e3586
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,9 @@
+---
+layout: default
+---
+<h2>{{ page.title }}</h2>
+<p class="meta">{{ page.date | date_to_string }}</p>
+
+<div class="post">
+{{ content }}
+</div>