diff --git a/template/comment.twig b/template/comment.twig index 3fe4d31..2c2610c 100644 --- a/template/comment.twig +++ b/template/comment.twig @@ -27,14 +27,16 @@ {# DateTime #} {{ comment.created|ago }} - — - - {# Reply #} - Reply - - {# Edit #} - {% if user and comment.userId == user.id %} - Edit + {% if user %} + — + + {# Reply #} + Reply + + {% if comment.userId == user.id %} + {# Edit #} + Edit + {% endif %} {% endif %}