X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/a4327fe8283484cae72cce64c682801da33cb6c0..e9d192e6b658afb9f7140126cf9cae0adc015cfb:/Resources/views/article/view.html.twig diff --git a/Resources/views/article/view.html.twig b/Resources/views/article/view.html.twig new file mode 100644 index 0000000..36a87a2 --- /dev/null +++ b/Resources/views/article/view.html.twig @@ -0,0 +1,22 @@ +{% extends '@RapsysBlog/_base.html.twig' %} +{% block title %}{% endblock %} +{% block content %} +
+
+

{{ title }}

+

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

+
+
+ {{ article.body|markdown_to_html }} +
+ +
+{% endblock %}