We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have some trouble adding my CSS in my template using {{ STATIC_URL }}. The tag does not work inside the link markup, but works anywhere else. This:
{{ STATIC_URL }}
correctly translated into
/static/
, but
link(href="{{ STATIC_URL }}css/bla.css"
become
link href="{{ STATIC_URL }}css/bla.css"
I use pyjade with Django. Anybody can help on this?
also asked at SO: http://stackoverflow.com/questions/13029876/static-url-with-pyjade-in-django
Uh oh, I found the answer in the issue below, had to use '!='. Sorry
The text was updated successfully, but these errors were encountered:
use link href=STATIC_URL + 'css/bla.css' or link href='#{STATIC_URL}css/bla.css'
Also, please close this issue once it's fixed.
Sorry, something went wrong.
Oops, sorry, don't know I have to close an issue. Newbie here
No branches or pull requests
I have some trouble adding my CSS in my template using {{ STATIC_URL }}. The tag does not work inside the link markup, but works anywhere else. This:
{{ STATIC_URL }}
correctly translated into
/static/
, but
link(href="{{ STATIC_URL }}css/bla.css"
become
link href="{{ STATIC_URL }}css/bla.css"
I use pyjade with Django. Anybody can help on this?
also asked at SO:
http://stackoverflow.com/questions/13029876/static-url-with-pyjade-in-django
Uh oh, I found the answer in the issue below, had to use '!='. Sorry
The text was updated successfully, but these errors were encountered: