-
Notifications
You must be signed in to change notification settings - Fork 35
/
pelicanconf.py
70 lines (57 loc) · 2.04 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
58
59
60
61
62
63
64
65
66
67
68
69
70
import logging
AUTHOR = "Pelican Contributors"
SITENAME = "Pelican Development Blog"
SITEURL = ""
PATH = "content"
THEME = "themes/notmyidea"
CACHE_CONTENT = False
LOAD_CONTENT_CACHE = False
TIMEZONE = "Europe/Rome"
DEFAULT_LANG = "en"
LOCALE = "en_US.UTF-8"
MENUITEMS = (
("documentation", "https://docs.getpelican.com"),
("contribute", "https://donate.getpelican.com"),
("gratitude", "/pages/gratitude.html"),
)
DISPLAY_PAGES_ON_MENU = False
# Blogroll
SOCIAL_WIDGET_NAME = "follow"
LINKS = (
("Pelican Docs", "https://docs.getpelican.com/"),
("Support Pelican", "https://donate.getpelican.com/"),
("Justin Mayer", "https://justinmayer.com/"),
)
SOCIAL = (
("@getpelican", "https://twitter.com/getpelican"),
("@jmayer", "https://twitter.com/jmayer"),
("github", "https://github.com/getpelican"),
)
DEFAULT_PAGINATION = 5
STATIC_PATHS = [
"images",
"extra",
]
EXTRA_PATH_METADATA = {
"extra/apple-touch-icon.png": {"path": "apple-touch-icon.png"},
"extra/apple-touch-icon-57x57.png": {"path": "apple-touch-icon-57x57.png"},
"extra/apple-touch-icon-72x72.png": {"path": "apple-touch-icon-72x72.png"},
"extra/apple-touch-icon-76x76.png": {"path": "apple-touch-icon-76x76.png"},
"extra/apple-touch-icon-114x114.png": {"path": "apple-touch-icon-114x114.png"},
"extra/apple-touch-icon-120x120.png": {"path": "apple-touch-icon-120x120.png"},
"extra/apple-touch-icon-144x144.png": {"path": "apple-touch-icon-144x144.png"},
"extra/apple-touch-icon-152x152.png": {"path": "apple-touch-icon-152x152.png"},
"extra/apple-touch-icon-180x180.png": {"path": "apple-touch-icon-180x180.png"},
"extra/favicon.ico": {"path": "favicon.ico"},
"extra/robots.txt": {"path": "robots.txt"},
}
MARKDOWN = {
"extension_configs": {
"markdown.extensions.admonition": {},
"markdown.extensions.codehilite": {"css_class": "highlight"},
"markdown.extensions.extra": {},
"markdown.extensions.meta": {},
"markdown.extensions.toc": {},
},
"output_format": "html5",
}