1 {% extends '@RapsysBlog/_base.html.twig' %}
 
   5                         <h1 id="title"><a href="{{ canonical }}">{{ title.page }}</a></h1>
 
   6                         <p>{{ description }}</p>
 
   9                         {% for article in articles %}
 
  12                                                 <h2><a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{{ article.title }}</a></h2>
 
  15                                                 <p>{{ article.description }}</p>
 
  16                                                 {% if article.keywords is defined and article.keywords %}
 
  18                                                                 {% for keyword in article.keywords %}
 
  19                                                                         <a href="{{ path('rapsysblog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
 
  26                                                         <a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>
 
  32                 {% if ( prev is defined and prev ) or ( next is defined and next ) %}
 
  35                                         {% if prev is defined and prev %}
 
  36                                                 <a href="{{ prev }}" rel="prev">< {% trans %}Previous articles{% endtrans %}</a>
 
  38                                         {% if next is defined and next %}
 
  39                                                 <a href="{{ next }}" rel="next">{% trans %}Next articles{% endtrans %} ></a>