|
|
@ -7,17 +7,35 @@ SITENAME = u'Blog de Victor Hery' |
|
|
|
SITEURL = '' |
|
|
|
DEFAULT_CATEGORY = 'Système' |
|
|
|
THEME='./theme' |
|
|
|
DIRECT_TEMPLATES = (('index', 'tags', 'categories','archives', 'search', '404')) |
|
|
|
|
|
|
|
PATH = 'content' |
|
|
|
STATIC_PATHS = ['images'] |
|
|
|
STATIC_PATHS = ['theme/images', 'images'] |
|
|
|
ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{slug}.html' |
|
|
|
ARTICLE_URL = '{date:%Y}/{date:%m}/{slug}.html' |
|
|
|
SUMMARY_MAX_LENGTH = 50 |
|
|
|
DEFAULT_PAGINATION = 4 |
|
|
|
|
|
|
|
#Plugins |
|
|
|
### Plugins ### |
|
|
|
PLUGIN_PATHS = ['../pelican-plugins'] |
|
|
|
PLUGINS = ['pelican_comment_system', 'extract_toc'] |
|
|
|
PLUGINS = ['pelican_comment_system', 'extract_toc', 'sitemap'] |
|
|
|
|
|
|
|
#sitemap |
|
|
|
SITEMAP = { |
|
|
|
'format': 'xml', |
|
|
|
'priorities': { |
|
|
|
'articles': 0.5, |
|
|
|
'indexes': 0.5, |
|
|
|
'pages': 0.5 |
|
|
|
}, |
|
|
|
'changefreqs': { |
|
|
|
'articles': 'monthly', |
|
|
|
'indexes': 'daily', |
|
|
|
'pages': 'monthly' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
# Comments |
|
|
|
PELICAN_COMMENT_SYSTEM = True |
|
|
|
PELICAN_COMMENT_SYSTEM_IDENTICON_DATA = ('author',) |
|
|
|
PELICAN_COMMENT_SYSTEM_DIR = 'comments' |
|
|
|