{% extends "::base.html.twig" %}

{% block title -%}

	Blog

{%- endblock %}

{% block body %}

	<h1>Latest blog entries</h1>

	{% for post in posts %}

		<article class="post">
			<h1>{{ post.title|title }}</h1>
            <p>Written by {{ post.author|title }}</p>
            <p>
                {{ post.content }}
            </p>
		</article>
        <!-- / .post -->

	{% endfor %}

{% endblock %}
{% extends "::base.html.twig" %}

{% block title -%}

	Blog

{%- endblock %}

{% block body %}

	<h1>Latest blog entries</h1>

	{% for post in posts %}

		<article class="post">
			<h1>
                <a href="{{ path('post', { 'id': post.id } ) }}">
                    {{ post.title|title }}
                </a>
            </h1>
            <p>Written by {{ post.author|title }}</p>
            <p>
                {{ post.content }}
            </p>
		</article>
        <!-- / .post -->

	{% endfor %}

{% endblock %}
Add links to each blog post on the latest blog entries page
Add links to each blog post on the latest blog entries page
