forked from Arachnid/bloggart
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pelicanconf.py
49 lines (42 loc) · 1.14 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
# Pelican configuration for denero.org
AUTHOR = 'John DeNero'
SITENAME = 'John DeNero'
SITEURL = 'http://denero.org'
TIMEZONE = 'America/Los_Angeles'
DEFAULT_LANG = 'en'
DEFAULT_DATE = 'fs'
# Mark everything but blog as static content
PATH = 'content'
PAGE_DIR = 'pages'
# ARTICLE_DIR = 'blog'
STATIC_SAVE_AS = 'content/{path}'
STATIC_PATHS = ['cv', 'misc', 'pubs', 'talks', 'zier']
EXTRA_PATH_METADATA = {
'misc/app.yaml': {'path': '../app.yaml'}
}
# Configure non-content paths
OUTPUT_PATH = 'published/'
PLUGINS = ['plugins.publication']
THEME = 'theme'
# Site structure
DIRECT_TEMPLATES = ('index',)
MENUITEMS = (('About', ''),
('Publications', 'pages/publications.html'),
('Teaching', 'pages/teaching.html'),
#('Blog', 'blog.html'),
)
LINKS = ()
# ARTICLE_URL = 'blog/{slug}.html'
# ARTICLE_SAVE_AS = 'blog/{slug}.html'
AUTHOR_SAVE_AS = False
CATEGORY_SAVE_AS = False
# BLOG_SAVE_AS = 'blog/blog.html'
# Options
NEWEST_FIRST_ARCHIVES = False
DEFAULT_PAGINATION = False
RELATIVE_URLS = True
# External links
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
SOCIAL = tuple()