Replies: 1 comment
-
Nothing stops you from doing this already—you just wouldn’t be able to generate URLs dynamically and would instead have to hardcode them. If you want to use If you want to do this at the blueprint level, you can sublcass the Lines 325 to 330 in 1888df3 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
What if the business/corporation/or senior architecture/designer do not want to have a static folder in the directory. IE static_folder
Would it possible to add static_css and static_javascript or override the constructor to point each desirable directory paths without strictly adhere static_folder or have a static folder in the parent directory.
So, it can serve css and javascript without a static folder.
For example:
index = Blueprint('index', name, template_folder=html_dir, static_css=css_dir, static_js=js_dir)
This cannot be achieved:
index = Blueprint('index', name, template_folder=html_dir, static_folder=multi_dir)
multi_dir points to the parent directory and html css link and script points to css and js/lib directories. It does not work at all.
If it can be overrided, how?
Beta Was this translation helpful? Give feedback.
All reactions