This repository has been archived by the owner on Oct 15, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from transifex/static_files
Handle all static files through the `static` templatetag
- Loading branch information
Showing
3 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{% load compress %} | ||
{% load staticfiles %} | ||
|
||
{% block headcss %} | ||
{% compress css %} | ||
<link media="screen" href="{{ STATIC_URL }}locks/css/icons.css" type="text/css" rel="stylesheet" /> | ||
<link media="screen" href="{% static "locks/css/icons.css" %}" type="text/css" rel="stylesheet" /> | ||
{% endcompress %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters