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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With