Source

Mango / settings / defaults.py

# -*- coding: utf-8 -*-

# 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.

AKISMET_API_KEY = None

ARCHIVES = True

AUTHORS = {}

BASE_URL = None

COMMENTS_REQUIRE_APPROVAL = True

CONTACT_FORM = True

CSS = ('static/',
    ('screen', 'default.css'),
)

DISPLAY_COUNT = 10

DISQUS_API_KEY = None
DISQUS_SHORTNAME = None

# http://docs.python.org/library/datetime.html#strftime-and-strptime-behavior
DISPLAY_DATE_FORMAT = '%d %B %Y'  # e.g. 2 April 2010
DISPLAY_TIME_FORMAT = u'%i:%M\u2009%p'.encode('utf-8')  # e.g. 6:50|pm (pipe = thin space)

FEED_MAX_POSTS = 20

# The `gravatar` template filter checks for the presence of these
# settings. If absent, it then checks for the presence of the older
# (deprecated) settings. Were the settings defined here, this would
# not be possible. For now, these default values live in the filter
# function itself.
# GRAVATAR_DEFAULT = None
# GRAVATAR_SIZE = 32

INDEX_CACHE_SECONDS = 5 * 60

JS = ('static/',)

# http://www.freewisdom.org/projects/python-markdown/Available_Extensions
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'].
META_LISTS = ('require', 'tags')

PAGING = False

DOCUMENTS_PATH = 'mango/examples'
PATH_TO_STATIC = 'mango/static'

POST_CACHE_SECONDS = 24 * 60 * 60

PRIMARY_AUTHOR_NAME = 'Admin'
PRIMARY_AUTHOR_EMAIL = None
PRIMARY_AUTHOR_URL = None

# When True, a handful of replacements are made on the title and body of each
# post. For example, ... is replaced with an ellipsis.
REPLACEMENTS = True

SEARCH = True

SHORT_URL_BASE = None

SITEMAP = True

SITE_TITLE = 'I ♥ Mangoes'

STATIC_FILES = {}

SUBSCRIPTIONS = False