-
Notifications
You must be signed in to change notification settings - Fork 1
/
pelicanconf.py
54 lines (40 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
from datetime import datetime
AUTHOR = 'Stefan Jenkner'
SITENAME = "A developer's notebook"
SITETITLE = "Stefan Jenkner"
SITESUBTITLE = "A developer's notebook"
SITEURL = ""
SITELOGO = SITEURL + "/images/profile.png"
PATH = "content"
STATIC_PATHS = ["images", "extra/robots.txt", "extra/keybase.txt"]
EXTRA_PATH_METADATA = {
"extra/robots.txt": {"path": "robots.txt"},
"extra/keybase.txt": {"path": "keybase.txt"},
}
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
MAIN_MENU = True
# Blogroll
LINKS = (
)
# Social widget
SOCIAL = (
("github", "https://github.com/stefanjenkner"),
("mastodon", "https://dresden.network/@stefanjenkner"),
("rss", "/feeds/all.atom.xml"),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
THEME = 'themes/Flex'
THEME_COLOR = 'dark'
THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE = True
THEME_COLOR_ENABLE_USER_OVERRIDE = True
GITHUB_CORNER_URL = "https://github.com/stefanjenkner/stefanjenkner.github.io"
COPYRIGHT_YEAR = datetime.now().year