I am trying to pass a variable through Flask to my HTML page

```
@app.route("/<youtubeUrl>/", methods=["POST","GET"])
def results(youtubeUrl):
    if request.method == "POST":
        return redirect(url_for("results", youtubeUrl=request.form["url"], link=str(youtubeUrl)))
    else:
        return render_template("result.html")

```

But when I put this on my HTML, it is not printed:

```
<p>{{ link }}</p>

```

As you can see I also tried to do a cast to string, but it still not being printed.