forked from 00dani/lemoncurry
Actually use STATIC_URL in a way that will work with compress
This commit is contained in:
parent
3b5713361a
commit
888e01cb43
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
from .base import *
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
STATIC_URL = 'https://static.00dani.dev/'
|
||||
MEDIA_URL = STATIC_URL + 'media/'
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
|
||||
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous" />
|
||||
{% compress css %}
|
||||
<link rel="stylesheet" type="text/stylus" href="/static/lemoncurry/css/layout.styl" />
|
||||
<link rel="stylesheet" type="text/stylus" href="{% static 'lemoncurry/css/layout.styl' %}" />
|
||||
{% endcompress %}
|
||||
<script type="text/javascript" src="https://use.fontawesome.com/4fbab4ae27.js"></script>
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue