2019-05-27 05:44:41 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
AUTHOR = 'c0de'
|
|
|
|
SITENAME = "c0de's ongoing development"
|
|
|
|
SITEURL = ''
|
|
|
|
|
|
|
|
PATH = 'content'
|
|
|
|
|
|
|
|
TIMEZONE = 'America/Chicago'
|
|
|
|
|
|
|
|
DEFAULT_LANG = 'en'
|
|
|
|
|
|
|
|
# Feed generation is usually not desired when developing
|
|
|
|
FEED_ALL_ATOM = None
|
|
|
|
CATEGORY_FEED_ATOM = None
|
|
|
|
TRANSLATION_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_RSS = None
|
|
|
|
|
|
|
|
# Blogroll
|
2019-05-27 05:53:14 +00:00
|
|
|
LINKS = (('Personal Site', 'https://c0defox.es'),)
|
2019-05-27 05:44:41 +00:00
|
|
|
|
|
|
|
# Social widget
|
2019-05-27 05:53:14 +00:00
|
|
|
SOCIAL = (('Github', 'https://github.com/alopexc0de'),
|
|
|
|
('Keybase', 'https://keybase.io/alopexc0de'),
|
|
|
|
('Telegram', 'https://t.me/c0defox'),)
|
2019-05-27 05:44:41 +00:00
|
|
|
|
|
|
|
DEFAULT_PAGINATION = 20
|
|
|
|
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
2019-05-27 05:53:14 +00:00
|
|
|
#RELATIVE_URLS = True
|
2019-05-27 06:31:31 +00:00
|
|
|
|
|
|
|
USE_FOLDER_AS_CATEGORY = True # Use directories in content to specify the category
|
|
|
|
DEFAULT_CATEGORY = 'none'
|
2019-05-27 06:54:27 +00:00
|
|
|
|
2019-05-27 19:19:27 +00:00
|
|
|
PLUGIN_PATHS = ['plugins/encrypt-content',
|
|
|
|
'plugins']
|
2019-05-27 18:34:21 +00:00
|
|
|
|
2019-05-27 21:30:52 +00:00
|
|
|
PLUGINS = ['encrypt_content', 'deadlinks', 'bootstrapify']
|
2019-05-27 06:54:27 +00:00
|
|
|
|
2019-05-27 19:19:27 +00:00
|
|
|
# Plugin specific settings below
|
|
|
|
|
|
|
|
# Encrypt-Content Settings
|
2019-05-27 06:54:27 +00:00
|
|
|
ENCRYPT_CONTENT = {
|
|
|
|
'title_prefix': '[Encrypted]',
|
|
|
|
'summary': 'This content is encrypted and requires a password to unlock'
|
|
|
|
}
|
2019-05-27 19:19:27 +00:00
|
|
|
|
|
|
|
# Deadlink Settings
|
|
|
|
DEADLINK_VALIDATION = True
|
|
|
|
|
|
|
|
DEADLINK_OPTS = {
|
|
|
|
'archive': True,
|
|
|
|
'classes': ['disabled'],
|
|
|
|
'labels': True,
|
|
|
|
'timeout_duration_ms': 3000,
|
|
|
|
'timeout_is_error': False
|
|
|
|
}
|