X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/0189d94eedbc0896039113bd087f1542605026d6..73d3287ce9876d651f4e02eae59ed196fab75192:/templates/article/view.html.twig diff --git a/templates/article/view.html.twig b/templates/article/view.html.twig new file mode 100644 index 0000000..565a729 --- /dev/null +++ b/templates/article/view.html.twig @@ -0,0 +1,21 @@ +{% extends '@RapsysBlog/_base.html.twig' %} +{% block content %} +
+
+

{{ title.page }}

+

{% 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 %}