add deadlink config and fix plugin path

This commit is contained in:
David Todd 2019-05-27 14:19:27 -05:00
parent 3d75cd4168
commit ac4f060151
1 changed files with 16 additions and 1 deletions

View File

@ -35,11 +35,26 @@ DEFAULT_PAGINATION = 20
USE_FOLDER_AS_CATEGORY = True # Use directories in content to specify the category USE_FOLDER_AS_CATEGORY = True # Use directories in content to specify the category
DEFAULT_CATEGORY = 'none' DEFAULT_CATEGORY = 'none'
PLUGINS_PATH = ['plugins/'] PLUGIN_PATHS = ['plugins/encrypt-content',
'plugins']
PLUGINS = ['encrypt_content', 'deadlinks'] PLUGINS = ['encrypt_content', 'deadlinks']
# Plugin specific settings below
# Encrypt-Content Settings
ENCRYPT_CONTENT = { ENCRYPT_CONTENT = {
'title_prefix': '[Encrypted]', 'title_prefix': '[Encrypted]',
'summary': 'This content is encrypted and requires a password to unlock' 'summary': 'This content is encrypted and requires a password to unlock'
} }
# Deadlink Settings
DEADLINK_VALIDATION = True
DEADLINK_OPTS = {
'archive': True,
'classes': ['disabled'],
'labels': True,
'timeout_duration_ms': 3000,
'timeout_is_error': False
}