fmartingr
/
shelfzilla
Archived
1
0
Fork 0

Refactor: Using MEDIA_URL and STATIC_URL instead of hard links. Tap #18

This commit is contained in:
Felipe Martin 2014-05-26 17:15:26 +02:00
parent a19c2f7ea0
commit fe649ad9ba
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/static/css/style.css" />
<link rel="stylesheet" href="{{ STATIC_URL }}/css/style.css" />
{% block extra_css %}{% endblock %}
<title>{% block page_title %}ShelfZilla{% endblock %}</title>
</head>
@ -82,7 +82,7 @@
{% block footer %}{% endblock %}
<script src="/static/js/site.js"></script>
<script src="{{ STATIC_URL }}/js/site.js"></script>
{% block extra_js %}{% endblock %}
{% if social_config.google_analytics %}

View File

@ -42,7 +42,7 @@ body { background-image: none !important; }
<script type="text/javascript">
$(function() {
$.vegas({
src: '/static/backgrounds/shelves.jpg',
src: '{{ STATIC_URL }}/backgrounds/shelves.jpg',
fade: 1200
})
});