-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpelicanconf.py
More file actions
47 lines (37 loc) · 1013 Bytes
/
pelicanconf.py
File metadata and controls
47 lines (37 loc) · 1013 Bytes
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
AUTHOR = 'Eric Turgeon'
SITENAME = 'EricBSD'
SITETITLE = 'EricBSD'
SITEURL = ""
PATH = "content"
TIMEZONE = 'America/Moncton'
DEFAULT_LANG = 'en'
THEME = 'theme'
# Disable URL hash fragments in article links
DISABLE_URL_HASH = True
# Copyright
COPYRIGHT_YEAR = 2026
COPYRIGHT_NAME = 'Eric Turgeon'
# Dark mode support
THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE = True
THEME_COLOR_ENABLE_USER_OVERRIDE = True
# Syntax highlighting
PYGMENTS_STYLE = 'github' # Light mode
PYGMENTS_STYLE_DARK = 'native' # Dark mode
# Static files
STATIC_PATHS = ['images']
SITELOGO = '/images/hung_me.jpg'
# 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
# Pages
DISPLAY_PAGES_ON_MENU = True
# Social widget
SOCIAL = (
("x-twitter", "https://x.com/ericbsd"),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True