X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/6fdb7d38ea6fae48333958e6995d750928338bf7..a4885d23b6a68ca960d3a95057b4b27710340312:/Resources/views/article/index.html.twig diff --git a/Resources/views/article/index.html.twig b/Resources/views/article/index.html.twig index 817a4e0..512e0fa 100644 --- a/Resources/views/article/index.html.twig +++ b/Resources/views/article/index.html.twig @@ -1,29 +1,45 @@ -{% extends 'RapsysBlogBundle::body.html.twig' %} -{% block blog_title %}

{% trans %}Dev log{% endtrans %}

{% endblock %} +{% extends '@RapsysBlog/_base.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 %} -

+

{{ title }}

+

{{ description }}

-

{{article.description}}

- -
- {% endfor %} -
+
+ {% for article in articles %} +
+
+

{{ article.title }}

+
+
+

{{ article.description }}

+ {% if article.keywords is defined and article.keywords %} + + {% endif %} +
+ +
+ {% endfor %} +
+ {% if head.prev is defined or head.next is defined %} + + {% endif %} + {% endblock %}