I already checked out this and this and this but none had anything to do with my problem.
I have the most basic and simplest imaginable flask script with a very simple HTML page. You can check yourself here: https://1ee1eb4d224e.ngrok.io
I dont know what i did wrong. I put {{ result }}
in my html page. I added a route in Flask, using jinjas render_template
and specified a value for result
. Yet on the actual HTML page i still only see {{ result }}
? Is this a bug? Surely i cant screw up something this trivial... right?
EDIT: so it seems flask is not rendering Jinja2 Tags at all - an If statement i added for testing also is just displayed like this on the site. I dont know what i missed, since Jinja2 is built into flask i shouldnt have to do anything else so that jinja's rendering engine works?