2021-05-30 17:34:33 +02:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Hello BlogController!{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
2021-05-30 20:30:01 +02:00
|
|
|
{% for blog in blogs %}
|
|
|
|
<h4>{{ blog }}</h4>
|
|
|
|
<p>{{ blog.teaser }}</p>
|
2021-05-30 17:34:33 +02:00
|
|
|
|
2021-05-30 20:30:01 +02:00
|
|
|
<a href="{{ path('blog', { id: blog.id }) }}">View more …</a>
|
|
|
|
{% endfor %}
|
2021-05-30 17:34:33 +02:00
|
|
|
{% endblock %}
|