- {# it's not mandatory to set the timezone in localizeddate(). This is done to
- avoid errors when the 'intl' PHP extension is not available and the application
- is forced to use the limited "intl polyfill", which only supports UTC and GMT #}
-
- {# it's not mandatory to set the timezone in localizeddate(). This is done to
- avoid errors when the 'intl' PHP extension is not available and the application
- is forced to use the limited "intl polyfill", which only supports UTC and GMT #}
-
-
- {% block footer %}
-
- {% endblock %}
-
- {% block javascripts %}
- {# uncomment the following lines to combine and minimize JavaScript assets with Assetic
- {% javascripts filter="?jsqueeze" output="js/app.js"
- "%kernel.root_dir%/Resources/assets/js/jquery-2.1.4.js"
- "%kernel.root_dir%/Resources/assets/js/moment.min.js"
- "%kernel.root_dir%/Resources/assets/js/bootstrap-3.3.4.js"
- "%kernel.root_dir%/Resources/assets/js/highlight.pack.js"
- "%kernel.root_dir%/Resources/assets/js/bootstrap-datetimepicker.min.js"
- "%kernel.root_dir%/Resources/assets/js/main.js" %}
-
- {% endjavascripts %}
- #}
-
-
- {% endblock %}
-
- {# it's not mandatory to set the timezone in localizeddate(). This is done to
- avoid errors when the 'intl' PHP extension is not available and the application
- is forced to use the limited "intl polyfill", which only supports UTC and GMT #}
-
-
-
+#}
\ No newline at end of file
diff --git a/app/Resources/views/blog/_comment_form.html.twig b/app/Resources/views/blog/_comment_form.html.twig
deleted file mode 100644
index 0f010a8a..00000000
--- a/app/Resources/views/blog/_comment_form.html.twig
+++ /dev/null
@@ -1,35 +0,0 @@
-{#
- By default, forms enable client-side validation. This means that you can't
- test the server-side validation errors from the browser. To temporarily
- disable this validation, add the 'novalidate' attribute:
-
- {{ form_start(form, { method: ..., action: ..., attr: { novalidate: 'novalidate' } }) }}
-#}
-
-{{ form_start(form, { method: 'POST', action: path('comment_new', { 'postSlug': post.slug }) }) }}
- {# instead of displaying form fields one by one, you can also display them
- all with their default options and styles just by calling to this function:
-
- {{ form_widget(form) }}
- #}
-
-
-{{ form_end(form) }}
diff --git a/app/Resources/views/blog/_delete_post_confirmation.html.twig b/app/Resources/views/blog/_delete_post_confirmation.html.twig
deleted file mode 100644
index 68d043f1..00000000
--- a/app/Resources/views/blog/_delete_post_confirmation.html.twig
+++ /dev/null
@@ -1,19 +0,0 @@
-{# Bootstrap modal, see http://getbootstrap.com/javascript/#modals #}
-
-
-{# it's not mandatory to set the timezone in localizeddate(). This is done to
- avoid errors when the 'intl' PHP extension is not available and the application
- is forced to use the limited "intl polyfill", which only supports UTC and GMT #}
-
diff --git a/app/Resources/views/blog/comment_form_error.html.twig b/app/Resources/views/blog/comment_form_error.html.twig
deleted file mode 100644
index 67c2517b..00000000
--- a/app/Resources/views/blog/comment_form_error.html.twig
+++ /dev/null
@@ -1,11 +0,0 @@
-{% extends 'base.html.twig' %}
-
-{% block body_id 'comment_form_error' %}
-
-{% block main %}
-
{{ 'title.comment_error'|trans }}
-
-
- {{ include('blog/_comment_form.html.twig') }}
-
-{% endblock %}
diff --git a/app/Resources/views/blog/index.html.twig b/app/Resources/views/blog/index.html.twig
deleted file mode 100644
index 173881dd..00000000
--- a/app/Resources/views/blog/index.html.twig
+++ /dev/null
@@ -1,27 +0,0 @@
-{% extends 'base.html.twig' %}
-
-{% block body_id 'blog_index' %}
-
-{% block main %}
- {% for post in posts %}
-
-
- {# The 'IS_AUTHENTICATED_FULLY' role ensures that the user has entered
- his/her credentials (login + password) during this session. If he/she
- is automatically logged via the 'Remember Me' functionality, he/she won't
- be able to add a comment.
- See http://symfony.com/doc/current/cookbook/security/remember_me.html#forcing-the-user-to-re-authenticate-before-accessing-certain-resources
- #}
- {% if is_granted('IS_AUTHENTICATED_FULLY') %}
- {{ render(controller('AppBundle:Blog:commentForm', { 'id': post.id })) }}
- {% else %}
-
- {{ comment.authorEmail }} {{ 'post.commented_on'|trans }}
- {# it's not mandatory to set the timezone in localizeddate(). This is done to
- avoid errors when the 'intl' PHP extension is not available and the application
- is forced to use the limited "intl polyfill", which only supports UTC and GMT #}
- {{ comment.publishedAt|localizeddate('medium', 'short', null, 'UTC') }}
-
-
- {{ comment.content|md2html }}
-
-
- {% else %}
-
-
{{ 'post.no_comments'|trans }}
-
- {% endfor %}
-{% endblock %}
-
-{% block sidebar %}
- {% if app.user and post.isAuthor(app.user) %}
-
- {{ comment.authorEmail }} {{ 'post.commented_on'|trans }} - {# it's not mandatory to set the timezone in localizeddate(). This is done to - avoid errors when the 'intl' PHP extension is not available and the application - is forced to use the limited "intl polyfill", which only supports UTC and GMT #} - {{ comment.publishedAt|localizeddate('medium', 'short', null, 'UTC') }} -
-