Show More
@@ -2,13 +2,17 b'' | |||||
2 | {% load i18n %} |
|
2 | {% load i18n %} | |
3 | {% load l10n %} |
|
3 | {% load l10n %} | |
4 | {% load static from staticfiles %} |
|
4 | {% load static from staticfiles %} | |
|
5 | {% load compress %} | |||
5 |
|
6 | |||
6 | <!DOCTYPE html> |
|
7 | <!DOCTYPE html> | |
7 | <html> |
|
8 | <html> | |
8 | <head> |
|
9 | <head> | |
9 | <link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}" media="all"/> |
|
10 | {% compress css %} | |
10 |
<link rel="stylesheet" type="text/css" href="{% static 'css/ |
|
11 | <link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}" media="all"/> | |
11 |
<link rel="stylesheet" type="text/css" href="{% static |
|
12 | <link rel="stylesheet" type="text/css" href="{% static 'css/3party/highlight.css' %}" media="all"/> | |
|
13 | <link rel="stylesheet" type="text/css" href="{% static theme_css %}" media="all"/> | |||
|
14 | {% endcompress %} | |||
|
15 | ||||
12 | <link rel="alternate" type="application/rss+xml" href="rss/" title="{% trans 'Feed' %}"/> |
|
16 | <link rel="alternate" type="application/rss+xml" href="rss/" title="{% trans 'Feed' %}"/> | |
13 |
|
17 | |||
14 | <link rel="icon" type="image/png" |
|
18 | <link rel="icon" type="image/png" | |
@@ -39,11 +43,13 b'' | |||||
39 |
|
43 | |||
40 | {% block content %}{% endblock %} |
|
44 | {% block content %}{% endblock %} | |
41 |
|
45 | |||
42 | <script src="{% static 'js/popup.js' %}"></script> |
|
|||
43 | <script src="{% static 'js/image.js' %}"></script> |
|
|||
44 | <script src="{% static 'js/3party/highlight.min.js' %}"></script> |
|
46 | <script src="{% static 'js/3party/highlight.min.js' %}"></script> | |
45 | <script src="{% static 'js/refpopup.js' %}"></script> |
|
47 | {% compress js %} | |
46 |
<script src="{% static 'js/ |
|
48 | <script src="{% static 'js/popup.js' %}"></script> | |
|
49 | <script src="{% static 'js/image.js' %}"></script> | |||
|
50 | <script src="{% static 'js/refpopup.js' %}"></script> | |||
|
51 | <script src="{% static 'js/main.js' %}"></script> | |||
|
52 | {% endcompress %} | |||
47 |
|
53 | |||
48 | <div class="navigation_panel footer"> |
|
54 | <div class="navigation_panel footer"> | |
49 | {% block metapanel %}{% endblock %} |
|
55 | {% block metapanel %}{% endblock %} |
@@ -4,6 +4,7 b'' | |||||
4 | {% load cache %} |
|
4 | {% load cache %} | |
5 | {% load static from staticfiles %} |
|
5 | {% load static from staticfiles %} | |
6 | {% load board %} |
|
6 | {% load board %} | |
|
7 | {% load compress %} | |||
7 |
|
8 | |||
8 | {% block head %} |
|
9 | {% block head %} | |
9 | <title>{{ opening_post.get_title|striptags|truncatewords:10 }} |
|
10 | <title>{{ opening_post.get_title|striptags|truncatewords:10 }} | |
@@ -71,8 +72,10 b'' | |||||
71 | <script src="{% static 'js/thread_update.js' %}"></script> |
|
72 | <script src="{% static 'js/thread_update.js' %}"></script> | |
72 | {% endif %} |
|
73 | {% endif %} | |
73 |
|
74 | |||
74 | <script src="{% static 'js/form.js' %}"></script> |
|
75 | {% compress js %} | |
75 |
<script src="{% static 'js/ |
|
76 | <script src="{% static 'js/form.js' %}"></script> | |
|
77 | <script src="{% static 'js/thread.js' %}"></script> | |||
|
78 | {% endcompress %} | |||
76 |
|
79 | |||
77 | {% endcache %} |
|
80 | {% endcache %} | |
78 |
|
81 |
@@ -82,6 +82,7 b' STATICFILES_DIRS = (' | |||||
82 | STATICFILES_FINDERS = ( |
|
82 | STATICFILES_FINDERS = ( | |
83 | 'django.contrib.staticfiles.finders.FileSystemFinder', |
|
83 | 'django.contrib.staticfiles.finders.FileSystemFinder', | |
84 | 'django.contrib.staticfiles.finders.AppDirectoriesFinder', |
|
84 | 'django.contrib.staticfiles.finders.AppDirectoriesFinder', | |
|
85 | 'compressor.finders.CompressorFinder', | |||
85 | ) |
|
86 | ) | |
86 |
|
87 | |||
87 | if DEBUG: |
|
88 | if DEBUG: | |
@@ -151,6 +152,9 b' INSTALLED_APPS = (' | |||||
151 | # Search |
|
152 | # Search | |
152 | 'haystack', |
|
153 | 'haystack', | |
153 |
|
154 | |||
|
155 | # Static files compressor | |||
|
156 | 'compressor', | |||
|
157 | ||||
154 | 'boards', |
|
158 | 'boards', | |
155 | ) |
|
159 | ) | |
156 |
|
160 |
General Comments 0
You need to be logged in to leave comments.
Login now