1 {% extends '@RapsysBlog/_base.html.twig' %}
 
   2 {% block title %}{% endblock %}
 
   6                         <h1 id="title"><a href="{{ head.canonical }}">{{ title }}</a></h1>
 
   7                         <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>
 
   8                         <p>{{ keyword.description }}</p>
 
  10                 {% if keyword.articles is defined and keyword.articles %}
 
  12                                 {% for article in keyword.articles %}
 
  15                                                         <h2><a href="{{ path('rapsys_blog_article_view', {'id': article.id, 'slug': article.slug}) }}">{{ article.title }}</a></h2>
 
  18                                                         <p>{{ article.description }}</p>
 
  19                                                         {% if article.keywords is defined and article.keywords %}
 
  21                                                                         {% for keyword in article.keywords %}
 
  22                                                                                 <a href="{{ path('rapsys_blog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
 
  29                                                                 <a href="{{ path('rapsys_blog_article_view', {'id': article.id, 'slug': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>