X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/6fdb7d38ea6fae48333958e6995d750928338bf7..4f897c729decaa6f39073add948f5b1e5b90f8c6:/Resources/views/keyword/index.html.twig diff --git a/Resources/views/keyword/index.html.twig b/Resources/views/keyword/index.html.twig index 9860b9c..b1a6ce4 100644 --- a/Resources/views/keyword/index.html.twig +++ b/Resources/views/keyword/index.html.twig @@ -1,28 +1,45 @@ -{% extends 'RapsysBlogBundle::body.html.twig' %} -{% block blog_title %}

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

{% endblock %} +{% extends '@RapsysBlog/_base.html.twig' %} {% block content %} -
-

{% trans %}Keywords list{% endtrans %}

- {% for keyword in keywords %} -
+
-

{{keyword.title}}

-

- {% trans with {'%date%': keyword.created|localizeddate('full', 'short')} %}Published the %date%{% endtrans %}{% if keyword.created != keyword.updated %}{% trans with {'%date%': keyword.updated|localizeddate('short', 'short')} %}, edited the %date%{% endtrans %}{% endif %} -

+

{{ title }}

+

{{ description }}

- {% if keyword.articles %} -

{% transchoice keyword.articles|length %}{1} Article:|]1,Inf[ Articles:{% endtranschoice %}

-
    - {% for slug, article in keyword.articles %} -
  • {{ article }}
  • - {% endfor %} -
+
+ {% for keyword in keywords %} + + {% endfor %} +
+ {% if keywords_prev is defined or keywords_next is defined %} + {% endif %} - -
- {% endfor %} -
+ {% endblock %}