1 {% extends '@RapsysBlog/_base.html.twig' %}
 
   5                         <h1 id="title"><a href="{{ canonical }}">{{ title.page }}</a></h1>
 
   6                         <p>{% trans with {'%date%': keyword.created|format_datetime('full', 'short')} %}Published the %date%{% endtrans %}{% if keyword.created != keyword.updated %}{% trans with {'%date%': keyword.updated|format_datetime('short', 'short')} %}, edited the %date%{% endtrans %}{% endif %}</p>
 
   7                         <p>{{ keyword.description }}</p>
 
   9                 {% if keyword.articles is defined and keyword.articles %}
 
  11                                 {% for article in keyword.articles %}
 
  14                                                         <h2><a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{{ article.title }}</a></h2>
 
  17                                                         <p>{{ article.description }}</p>
 
  18                                                         {% if article.keywords is defined and article.keywords %}
 
  20                                                                         {% for keyword in article.keywords %}
 
  21                                                                                 <a href="{{ path('rapsysblog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
 
  28                                                                 <a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>