-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
51 lines (37 loc) · 1.13 KB
/
pelicanconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Alban Dericbourg'
AUTHOR_LINK = u'https://www.dericbourg.net'
SITENAME = u'Blog bloquant'
SITEURL = ''
TWITTER_HANDLE = u'@adericbourg'
LINKS = [
('GitHub', 'https://github.com/adericbourg'),
('LinkedIn', 'https://www.linkedin.com/in/adericbourg/'),
('Twitter', 'https://twitter.com/adericbourg'),
]
PATH = 'content'
STATIC_PATHS = ['extra/CNAME', 'images']
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'},}
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'fr'
THEME = 'dev-random4'
PLUGIN_PATHS = ['venv/pelican-plugins']
PLUGINS = ['sitemap']
SITEMAP = {
'format': 'xml'
}
# 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
DEFAULT_PAGINATION = 10
ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'
PAGE_URL = '{slug}/'
PAGE_SAVE_AS = '{slug}/index.html'
ARCHIVES_SAVE_AS = 'archives/index.html'
ARCHIVES_URL = 'archives/'