{% extends "layouts/" + render_mode + ".html" %} {% block content %} {% if result %} {% endif %} {% endblock %}