{% extends "layout.html" %} {% block content %}
{% if query_path %}
Given Image:
Query
{% endif %} {% if caption %}
Caption:

{{caption}}

{% endif %} {% endblock %}