{% extends 'blog/show_post.html' %} {% block title %} {% if comment is not none %} Edit comment #{{ comment['id'] }}" {% else %} Comment on "{{ post['title'] }}" {% endif %} {% endblock %} {% block add_comment %}