# DO NOT EDIT THIS FILE, which contains Mango's default settings. To customize
# Mango's behaviour, create a file named custom.py in this directory. This way
# custom settings are not affected by the update process.
+# See http://mango.io/docs/settings/ for more information.
-BASE_URL = 'http://localhost:8000/' #TODO - This can be autogenerated from django, we should use that rather than requiring the user to set it correctly
-# set to 0 to disable caching
-# Cache value is only used if the file hasn't been modified since the cache was made
-# so 24h is a fine time (theoretically infinite is time, but you want posts cleared
-# from the cache if they aren't in use and the modification time might fail so they
-# should be preiodically refeshed
-POST_CACHE_SECONDS = 24 * 60 * 60
-# Cache is always used if present, so a shorter time is necessary
-INDEX_CACHE_SECONDS = 5 * 60
+BASE_URL = 'http://localhost:8000/'
GRAVATAR_DEFAULT_IMAGE_URL = None
GRAVATAR_IMAGE_SIZE = None
+INDEX_CACHE_SECONDS = 5 * 60
- 'def_list', # definition lists
- 'fenced_code', # fenced code blocks
+MARKDOWN_EXTENSIONS = ('def_list', 'fenced_code')
# Mango imposes no restrictions on the metadata that posts may contain.
# META_LISTS defines the metadata labels associated with lists. For example,
# `tags: accessibility, best practice, CSS, UX` becomes ['accessibility',
# 'best practice', 'CSS', 'UX'] and `tags: iPhone` becomes ['iPhone'].
DOCUMENTS_PATH = 'mango/examples'
PATH_TO_STATIC = 'mango/static'
+POST_CACHE_SECONDS = 24 * 60 * 60
PRIMARY_AUTHOR_NAME = 'Admin'
PRIMARY_AUTHOR_EMAIL = ''
# post. For example, ... is replaced with an ellipsis.
'' # defaults to BASE_URL when set to the empty string
SITE_TITLE = 'I ♥ Mangoes'