-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
57 lines (46 loc) · 1.47 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
52
53
54
55
56
57
AUTHOR = "Alexander Whillas"
SITENAME = "Alexander Whillas"
# SITEURL = 'http://alexander.whillas.com'
# THEME = "/home/alex/dev/opp/pelican-themes/flex"
THEME = "themes/Pelican-Cid" # best!
LANDING_PAGE_ABOUT = "Something about me"
PATH = "content"
TIMEZONE = "Pacific/Auckland"
DEFAULT_LANG = "en"
OUTPUT_PATH = "docs/"
DELETE_OUTPUT_DIRECTORY = True
OUTPUT_RETENTION = ["CNAME"]
# 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
MARKDOWN = {
"extension_configs": {
"markdown.extensions.extra": {},
"markdown.extensions.admonition": {},
"markdown.extensions.codehilite": {"css_class": "highlight", "linenums": True},
"markdown.extensions.meta": {},
"smarty": {"smart_angled_quotes": "true"},
"pymdownx.tilde": {
"smart_delete": "true",
"delete": "true",
"subscript": "true",
},
"pymdownx.tasklist": {},
# "markdown.extensions.toc": {
# "permalink": "true",
# },
}
}
CONTACTS = (
("twitter", "https://twitter.com/awhillas"),
("github", "https://github.com/awhillas"),
("linkedin", "https://www.linkedin.com/in/whillas/"),
)
DEFAULT_PAGINATION = False
ARTICLE_ORDER_BY = "reversed-date"
PAGE_ORDER_BY = "reversed-date"
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True