From 92ae567c107aa246e58587fa926ff9116dbda0b1 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 5 Aug 2015 15:52:30 +0200 Subject: Set correct default layout for posts. --- blog/_config.yml | 2 +- blog/_i18n/en/_posts/2015-07-29-norsk-urskog-2016.md | 1 - blog/_i18n/nb/_posts/2015-07-29-norsk-urskog-2016.md | 1 - blog/_layouts/post.html | 12 ++++++++++++ 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 blog/_layouts/post.html diff --git a/blog/_config.yml b/blog/_config.yml index 8469dbf..b4b5398 100644 --- a/blog/_config.yml +++ b/blog/_config.yml @@ -7,5 +7,5 @@ defaults: path: "" type: "posts" values: - layout: "default" + layout: "post" author: "Harald" diff --git a/blog/_i18n/en/_posts/2015-07-29-norsk-urskog-2016.md b/blog/_i18n/en/_posts/2015-07-29-norsk-urskog-2016.md index 07de50f..2885e40 100644 --- a/blog/_i18n/en/_posts/2015-07-29-norsk-urskog-2016.md +++ b/blog/_i18n/en/_posts/2015-07-29-norsk-urskog-2016.md @@ -1,5 +1,4 @@ --- -layout: post title: Norsk Urskog 2016 tags: - 2016 diff --git a/blog/_i18n/nb/_posts/2015-07-29-norsk-urskog-2016.md b/blog/_i18n/nb/_posts/2015-07-29-norsk-urskog-2016.md index 94f8055..5f79b09 100644 --- a/blog/_i18n/nb/_posts/2015-07-29-norsk-urskog-2016.md +++ b/blog/_i18n/nb/_posts/2015-07-29-norsk-urskog-2016.md @@ -1,5 +1,4 @@ --- -layout: post title: Norsk Urskog 2016 tags: - 2016 diff --git a/blog/_layouts/post.html b/blog/_layouts/post.html new file mode 100644 index 0000000..93adac3 --- /dev/null +++ b/blog/_layouts/post.html @@ -0,0 +1,12 @@ +--- +layout: default +--- + +
+
+

{{ page.title }}

+
+
+ {{ content }} +
+
\ No newline at end of file -- cgit v1.2.3