gettext = lambda s: s
-LANGUAGES = (
+LANGUAGES = tuple(sorted([
('pl', gettext('Polish')),
('de', gettext('German')),
('en', gettext('English')),
('ru', gettext('Russian')),
('es', gettext('Spanish')),
('uk', gettext('Ukrainian')),
-)
+], key=lambda x: x[0]))
SITE_ID = 1
'api',
'rosetta',
'infopages',
+ 'suggest',
]
CACHE_BACKEND = 'locmem:///?max_entries=3000'
# CSS and JavaScript file groups
COMPRESS_CSS = {
'all': {
- 'source_filenames': ('css/master.css', 'css/jquery.autocomplete.css', 'css/jquery.countdown.css', 'css/master.plain.css', 'css/sponsors.css',),
+ 'source_filenames': ('css/master.css', 'css/jquery.autocomplete.css', 'css/jquery.countdown.css', 'css/master.plain.css', 'css/sponsors.css', 'css/facelist_2-0.css',),
'output_filename': 'css/all.min?.css',
},
'book': {
'output_filename': 'js/jquery.min.js',
},
'all': {
- 'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js',
- 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js',
- 'js/jquery.countdown-de.js',
+ 'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js',
+ 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js',
+ 'js/jquery.countdown-de.js', 'js/jquery.countdown-uk.js',
'js/jquery.countdown-es.js', 'js/jquery.countdown-lt.js',
'js/jquery.countdown-ru.js', 'js/jquery.countdown-fr.js',
'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/catalogue.js',
- 'js/jquery.cookie.js',),
+ ),
'output_filename': 'js/all?.min.js',
},
'book': {
TRANSLATION_REGISTRY = "wolnelektury.translation"
+# limit number of filtering tags
+MAX_TAG_LIST = 6
+
# Load localsettings, if they exist
try:
from localsettings import *