X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/6fdb7d38ea6fae48333958e6995d750928338bf7..c2115d231ac7db51a60d026f2f3413687ee5e7d1:/Resources/views/article/index.html.twig?ds=sidebyside diff --git a/Resources/views/article/index.html.twig b/Resources/views/article/index.html.twig index 817a4e0..3f0abf6 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 articles_prev is defined or articles_next is defined %} + + {% endif %} + {% endblock %}