summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@novatron.fi>2013-08-05 13:47:24 +0300
committerOskari Timperi <oskari.timperi@novatron.fi>2013-08-05 13:47:24 +0300
commitb570deb1131fe46c574e0519ef272526583ce5c8 (patch)
tree44d169311e51f1b3780a30bb4c93b9d35d372165
parent0018eb6efb42d6689b0485b811cb669f54a86b53 (diff)
downloadoswjk.github.io-b570deb1131fe46c574e0519ef272526583ce5c8.tar.gz
oswjk.github.io-b570deb1131fe46c574e0519ef272526583ce5c8.zip
first post
-rw-r--r--_layouts/default.html12
-rw-r--r--_layouts/post.html7
-rw-r--r--_posts/2013-08-05-first-post.md8
-rw-r--r--eka.md7
-rw-r--r--index.html10
5 files changed, 37 insertions, 7 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..23a7213
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>{{ page.title }}</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="author" content="Oskari Timperi">
+</head>
+<body>
+{{ content }}
+</body>
+</html>
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..61bed2a
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,7 @@
+---
+layout: default
+---
+
+<div id="post">
+ {{ content }}
+</div>
diff --git a/_posts/2013-08-05-first-post.md b/_posts/2013-08-05-first-post.md
new file mode 100644
index 0000000..f5df362
--- /dev/null
+++ b/_posts/2013-08-05-first-post.md
@@ -0,0 +1,8 @@
+---
+layout: post
+title: First post
+---
+
+# {{ page.title }}
+
+Just testin'.
diff --git a/eka.md b/eka.md
deleted file mode 100644
index 4a47945..0000000
--- a/eka.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# Testing
-
-This is a test.
-
-- eka
-- toka
-- kolmas
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..438a1d2
--- /dev/null
+++ b/index.html
@@ -0,0 +1,10 @@
+---
+layout: default
+title: Oskari Timperi
+---
+
+<ul class="posts">
+ {% for post in site.posts %}
+ <li><span>{{ post.date | date_to_string }}</span> - <a href="{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
+</ul>