X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/blogbundle/blobdiff_plain/6cb4d37df4bd723af08140de8c2d6da88475e3f8..6fdb7d38ea6fae48333958e6995d750928338bf7:/Resources/views/article/read.html.twig?ds=inline diff --git a/Resources/views/article/read.html.twig b/Resources/views/article/read.html.twig new file mode 100644 index 0000000..329ae40 --- /dev/null +++ b/Resources/views/article/read.html.twig @@ -0,0 +1,37 @@ +{% extends 'RapsysBlogBundle::body.html.twig' %} +{% block blog_title %}

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

{% endblock %} +{% block blog_subtitle %}

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

{% endblock %} +{% block content %} + {% if article is defined and article %} +
+
+

{{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 keyword_id, keyword in article.keywords %} + {{ keyword }} + {% endfor %} + + {% endif %} +

+
+

{{article.body|bb2html}}

+
+ {% endif %} +{% endblock %} +{% block alternate %} + + {% for locale, slug in article.slugs %} + + {% endfor %} +{% endblock %} +{% block footer_nav %} + +{% endblock %}