diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-08-25 20:41:32 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-08-25 20:41:32 +0200 |
commit | 932f5651d0e2ec8e5117f54b911fb126e7b1b32c (patch) | |
tree | e7d0b54eca4591bd7cc768e1805f325667c84a25 /blog/_includes/post-excerpt.html | |
parent | 6c4846c3d82529c17ba1c263d6c04ba48e18ab7e (diff) | |
download | norsk-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/_includes/post-excerpt.html')
-rw-r--r-- | blog/_includes/post-excerpt.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/blog/_includes/post-excerpt.html b/blog/_includes/post-excerpt.html new file mode 100644 index 0000000..73c4478 --- /dev/null +++ b/blog/_includes/post-excerpt.html @@ -0,0 +1,9 @@ +{% assign post = include.post %} +<article class="post"> + {% include post-header.html post = post%} + <section class="post-body"> + {{ post.excerpt }} + + <p><a href="{{ post.url }}">{% t global.read_more %}</a></p> + </section> +</article> |