Commit 2552b07f by andreas.pelme

Set up sane(r) defaults for the CSS <link> tag rendering.

This is slightly backwards incompatible since the media attribute no
longer is specified by default.

git-svn-id: https://django-compress.googlecode.com/svn/trunk@80 98d35234-f74b-0410-9e22-51d878bdf110
parent a3417ff1
<link href="{{ url }}" rel="stylesheet" type="text/css" media="{{ media|default:"all" }}" title="{{ title|default:"all" }}" charset="utf-8" /> <link href="{{ url }}" rel="stylesheet" type="text/css"{% if media %} media="{{ media }}"{% endif %}{% if title %} title="{{ title|default:"all" }}"{% endif %}{% if charset %} charset="{{ charset }}"{% endif %} />
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment