{% extends 'blog/base.html' %} {% block title %} Home Page {% endblock %} {% block body %} {% if posts %} {% for post in posts %}
{{ post.title }}

{{ post.content}}

{#

{{ post.content|slice:":100" }}...

#}
{% endfor %} {% include 'blog/pagination.html' %} {% else %}

Posts are not available

{% endif %} {% endblock %}