summaryrefslogtreecommitdiffstats
path: root/blog/index.html
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/index.html
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/index.html')
-rw-r--r--blog/index.html12
1 files changed, 1 insertions, 11 deletions
diff --git a/blog/index.html b/blog/index.html
index 3ed591a..0387f41 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -7,17 +7,7 @@ layout: default
<section id="news" class="wide">
<h2>{% t home.latest_news %}</h2>
{% for p in paginator.posts %}
- <article>
- <header>
- <date>{{ p.date | date_to_string }}</date>
- <h1>
- <a href="{{ p.url }}">{{ p.title }}</a>
- </h1>
- </header>
- <section>
- {{ p.excerpt }}
- </section>
- </article>
+ {% include post-excerpt.html post=p %}
{% endfor %}
{% include pagination.html %}