]> Raphaƫl G. Git Repositories - blogbundle/blobdiff - Resources/views/article/view.html.twig
Rename rapsys_blog route to rapsysblog
[blogbundle] / Resources / views / article / view.html.twig
diff --git a/Resources/views/article/view.html.twig b/Resources/views/article/view.html.twig
deleted file mode 100644 (file)
index 36a87a2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{% extends '@RapsysBlog/_base.html.twig' %}
-{% block title %}{% endblock %}
-{% block content %}
-       <article id="content">
-               <header>
-                       <h1 id="title"><a href="{{ head.canonical }}">{{ title }}</a></h1>
-                       <p>{% 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 %}</p>
-               </header>
-               <section>
-                       {{ article.body|markdown_to_html }}
-               </section>
-               <footer>
-                       {% if article.keywords is defined and article.keywords %}
-                               <nav>
-                                       {% for keyword in article.keywords %}
-                                               <a href="{{ path('rapsys_blog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
-                                       {% endfor %}
-                               </nav>
-                       {% endif %}
-               </footer>
-       </article>
-{% endblock %}