{% extends "split_view.html" %} {% load wagtailcore_tags %} {% comment %} Template for the HomePage class, utilising a split-view page layout. {% endcomment %} {% block main_classes %}{{ block.super }} home-page{% endblock %} {% block content %} {% for div in self.top_content %}
{{ div }}
{% endfor %} {% for post in recent_posts %}
{% if forloop.counter == 1 %}

Recent posts

{% endif %}

{{ post.title }}

{{ post.summary|richtext }}
{% endfor %} {% for div in self.bottom_content %}
{{ div }}
{% endfor %} {% endblock %}