-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
82 lines (70 loc) · 2.18 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
72
73
74
75
76
77
78
79
80
81
82
# ===========================
# Basic Site Information
# ===========================
AUTHOR = 'Aron Green'
SITENAME = 'Aron Green (dot) com'
# ===========================
# Localization and Timezone
# ===========================
TIMEZONE = 'America/New_York'
DEFAULT_LANG = 'en'
# ===========================
# Content and Output Settings
# ===========================
PATH = "content"
DEFAULT_PAGINATION = 10
DIRECT_TEMPLATES = ['index']
# ===========================
# URL and Site Settings
# ===========================
SITEURL = ""
RELATIVE_URLS = True # Ensure relative URLs for development
# ===========================
# Theme and Appearance
# ===========================
THEME = 'theme/m.css/pelican-theme'
THEME_STATIC_DIR = 'static'
# ===========================
# Static Files and CSS
# ===========================
STATIC_PATHS = [
'theme/m.css/pelican-theme/static',
'static'
]
M_CSS_FILES = [
'https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i|Source+Code+Pro:400,400i,600',
'/static/m-light.css', # Use '/static/m-dark.css' for dark mode if preferred
'/static/m-theme-arongreen.css' # Custom overrides
]
M_THEME_COLOR = '#006400' # Dark green for your color palette
# ===========================
# Plugins
# ===========================
PLUGIN_PATHS = ['theme/m.css/plugins']
PLUGINS = ['m.htmlsanity', 'm.components', 'm.images', 'm.code', 'm.math']
# ===========================
# Feed Settings (disabled for development)
# ===========================
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# ===========================
# Blogroll (external links)
# ===========================
LINKS = (
("Pelican", "https://getpelican.com/"),
("Python.org", "https://www.python.org/"),
("Jinja2", "https://palletsprojects.com/p/jinja/"),
("You can modify those links in your config file", "#"),
)
# ===========================
# Social Widget
# ===========================
SOCIAL = (
("You can add links in your config file", "#"),
("Another social link", "#"),
)
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True