summaryrefslogtreecommitdiffstats
path: root/blog/_layouts
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-08-25 20:41:32 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-08-25 20:41:32 +0200
commit932f5651d0e2ec8e5117f54b911fb126e7b1b32c (patch)
treee7d0b54eca4591bd7cc768e1805f325667c84a25 /blog/_layouts
parent6c4846c3d82529c17ba1c263d6c04ba48e18ab7e (diff)
downloadnorsk-urskog-main-932f5651d0e2ec8e5117f54b911fb126e7b1b32c.tar.gz
norsk-urskog-main-932f5651d0e2ec8e5117f54b911fb126e7b1b32c.tar.bz2
norsk-urskog-main-932f5651d0e2ec8e5117f54b911fb126e7b1b32c.zip
Move post and post header to separate partials, and change styling.
Diffstat (limited to 'blog/_layouts')
-rw-r--r--blog/_layouts/post.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/blog/_layouts/post.html b/blog/_layouts/post.html
index 93adac3..ff650ae 100644
--- a/blog/_layouts/post.html
+++ b/blog/_layouts/post.html
@@ -2,11 +2,9 @@
layout: default
---
-<article>
- <header>
- <h1>{{ page.title }}</h1>
- </header>
- <section id="post-body">
+<article class="post">
+ {% include post-header.html post = page %}
+ <section class="post-body">
{{ content }}
</section>
</article> \ No newline at end of file