I have a file structure like this for my website
css
style.css
other files...
templates
index.html
other files...
and I am trying to refer to style.css from my index.html file.
I've tried to go back a directory with ../
<link rel="stylesheet" type="text/css" href="../css/style.css">
but it's giving me a 404 error. I have tried to refer to other files in different directories using the same method, but that doesn't work either. Any ideas?
P.S. Not sure this matters, but this is a Python application using the Flask framework and PostgreSQL