-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
71 lines (48 loc) · 1.24 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
71
#!/usr/bin/env python3
from datetime import datetime
AUTHOR = "Emiel van de Laar"
SITENAME = "Galloping Alligator"
SITEURL = ""
PATH = "content"
TIMEZONE = "Europe/Amsterdam"
DEFAULT_DATE_FORMAT = "%Y-%m-%d"
DEFAULT_LANG = "en"
DEFAULT_METADATA = {
'status': 'draft',
}
MENUITEMS = [
("Writing", "/"),
("About", "/pages/about.html"),
("Uses", "/pages/uses.html"),
]
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
SUMMARY_MAX_LENGTH = 42
# Feed generation is usually not desired when developing
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
CATEGORY_FEED_ATOM = None
FEED_ALL_ATOM = None
TRANSLATION_FEED_ATOM = None
# Blogroll
LINKS = []
# Social links
SOCIAL = [
("GitHub", "https://github.com/emiel"),
("Mastodon", "https://hachyderm.io/@emiel"),
("e-mail", "mailto:gemiel@gmail.com"),
]
DEFAULT_PAGINATION = False
STATIC_PATHS = [
"extra/CNAME",
"extra/robots.txt",
]
EXTRA_PATH_METADATA = {
"extra/CNAME": {"path": "CNAME"},
"extra/robots.txt": {"path": "robots.txt"},
}
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
THEME = "themes/mineral"
# Pelican theme settings
COPYRIGHT_YEAR = f"2014–{datetime.now().year}"