Convert to use jinja2 in prep for adding HTML option.