diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-08-05 15:52:30 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-08-05 15:52:30 +0200 |
commit | 92ae567c107aa246e58587fa926ff9116dbda0b1 (patch) | |
tree | 816c7b156660d13eb564c1286530f0bd9ceb4319 | |
parent | 357100da75d3730e0106f8b301e056bbab70263c (diff) | |
download | norsk-urskog-main-92ae567c107aa246e58587fa926ff9116dbda0b1.tar.gz norsk-urskog-main-92ae567c107aa246e58587fa926ff9116dbda0b1.tar.bz2 norsk-urskog-main-92ae567c107aa246e58587fa926ff9116dbda0b1.zip |
Set correct default layout for posts.
-rw-r--r-- | blog/_config.yml | 2 | ||||
-rw-r--r-- | blog/_i18n/en/_posts/2015-07-29-norsk-urskog-2016.md | 1 | ||||
-rw-r--r-- | blog/_i18n/nb/_posts/2015-07-29-norsk-urskog-2016.md | 1 | ||||
-rw-r--r-- | blog/_layouts/post.html | 12 |
4 files changed, 13 insertions, 3 deletions
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 +--- + +<article> + <header> + <h1>{{ page.title }}</h1> + </header> + <section id="post-body"> + {{ content }} + </section> +</article>
\ No newline at end of file |