From 6f817716b29c4e567b5c39e0656e56cd4b1e080d Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sun, 5 Nov 2017 01:00:25 +0300 Subject: [PATCH] Single post template (post.html.twig) fix (comments rendering disabled in feed mode). --- .../Bundle/PointToolsBundle/Resources/views/Post/post.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/post.html.twig b/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/post.html.twig index 3d580bf..9c46955 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/post.html.twig +++ b/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/post.html.twig @@ -31,7 +31,7 @@
#{{ post.id }}
- {% if is_feed is defined and post.comments|length > 0 %} + {% if is_feed is not defined and post.comments|length > 0 %}
{# {% include '@SkobkinPointTools/Post/comments_tree.html.twig' with {