I have a flask project in which one of the pages needs to be self contained. I have a separate file whose content I need to insert into the html page's head.
What's the easiest way to do it?
Simply use the include statement to include the contents:
<style type="text/css">
{% include "your.css" %}
</style>
include with the subfolder path. e.g. to include "about/hours.html" in "about/contact.html", the include would be {% include "about/hours.html" %}