{% extends 'RapsysBlogBundle::body.html.twig' %} {% block content %}

{% trans %}Articles list{% endtrans %}

{% for article in articles %}

{{article.title}}

{% 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 %} {% if article.keywords %} {% transchoice article.keywords|length %}{1} Keyword:|]1,Inf[ Keywords:{% endtranschoice %} {% for slug, keyword in article.keywords %} {{ keyword }} {% endfor %} {% endif %}

{{article.description}}

{% endfor %}
{% endblock %}