diff options
| -rw-r--r-- | _layouts/default.html | 12 | ||||
| -rw-r--r-- | _layouts/post.html | 7 | ||||
| -rw-r--r-- | _posts/2013-08-05-first-post.md | 8 | ||||
| -rw-r--r-- | eka.md | 7 | ||||
| -rw-r--r-- | index.html | 10 |
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'. @@ -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> |
