1 {% extends 'RapsysBlogBundle::body.html.twig' %}
 
   4         <h2><a href="{{ path('articles') }}">{% trans %}Articles list{% endtrans %}</a></h2>
 
   5         {% for article in articles %}
 
   8                         <h3><a href="{{ path('articles_article', {'_article': article.slug}) }}">{{article.title}}</a></h3>
 
  10                                 <span>{% trans with {'%date%': article.created|localizeddate('full', 'short')} %}Published the %date%{% endtrans %}{% if article.created != article.updated %}{% trans with {'%date%': article.updated|localizeddate('short', 'short')} %}, edited the %date%{% endtrans %}{% endif %}</span>
 
  11                                 {% if article.keywords %}
 
  13                                                 {% transchoice article.keywords|length %}{1} Keyword:|]1,Inf[ Keywords:{% endtranschoice %}
 
  14                                                 {% for slug, keyword in article.keywords %}
 
  15                                                         <a href="{{ path('keywords_keyword', {'_keyword': slug}) }}">{{ keyword }}</a>
 
  21                 <p>{{article.description}}</p>
 
  23                         <a href="{{ path('articles_article', {'_article': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>