Tag clouds: Hiding "uncategorized" category if no uncategorized tags exist
[prawokultury.git] / prawokultury / settings.d / 50-static.py
1 MEDIA_ROOT = path.join(PROJECT_DIR, 'media/')
2 MEDIA_URL = '/media/'
3 STATIC_ROOT = path.join(PROJECT_DIR, 'static/')
4 STATIC_URL = '/static/'
5
6 STATICFILES_FINDERS = (
7     'django.contrib.staticfiles.finders.FileSystemFinder',
8     'django.contrib.staticfiles.finders.AppDirectoriesFinder',
9 #    'django.contrib.staticfiles.finders.DefaultStorageFinder',
10 )
11
12 STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
13 PIPELINE_CSS_COMPRESSOR = None
14 PIPELINE_JS_COMPRESSOR = None
15 PIPELINE_CSS = {
16     'base': {
17         'source_filenames': (
18           'css/base.scss',
19           'css/layout.scss',
20           'css/header.scss',
21           'css/menu.scss',
22           'css/search.scss',
23           'css/sidebar.scss',
24           'css/promobox.scss',
25           'css/entry.scss',
26           'css/footer.scss',
27           'css/prevnext.scss',
28           'css/forms.scss',
29           'events/events.scss',
30
31           'css/annoy.css',
32         ),
33         'output_filename': 'compressed/base.css',
34     },
35     'questions': {
36         'source_filenames': (
37             'questions/tagcloud.scss',
38         ),
39         'output_filename': 'compressed/questions.css'
40     }
41 }
42 PIPELINE_JS = {
43     'base': {
44         'source_filenames': (
45             'js/promobox.js',
46
47             'js/annoy.js',
48         ),
49         'output_filename': 'compressed/base.js',
50     },
51     'questions': {
52         'source_filenames': (
53             'questions/tagcloud.js',
54         ),
55         'output_filename': 'compressed/questions.js'
56     }
57 }
58
59 PIPELINE_COMPILERS = (
60   'pipeline.compilers.sass.SASSCompiler',
61 )
62
63 PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'