Question 13
Consider the following flask app and Jinja2 template.
app.py
from flask import Flask, render_templateapp = Flask(__name__)
@app.route('/')def index(): return render_template("index.html", links=['hoME', 'PROfile', 'Contact', 'SITEMAP'])
app.run()index.html
<!DOCTYPE html><html lang="en"><head> <title>Macro</title></head><body> {% macro unordered_list(items)%} <ul> {% for item in items %} <li><a href="/{{item}}">{{item|capitalize}}</a></li> {% endfor %} </ul> {% endmacro %} {{ unordered_list(links) }}</body></html>If the flask app is running locally on http://127.0.0.1:5000. What will be the output on the browser for the base URL?