Combining Python, Flask, Jinja, and HTML