-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
77 lines (55 loc) · 1.71 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
from pelican import signals
from pelican_jupyter import markup as nb_markup
AUTHOR = 'Brian Estevez'
SITENAME = 'Py and Sky Labs'
SITEURL = '/'
ARTICLE_URL= 'articles/{slug}.html'
ARTICLE_SAVE_AS = 'articles/{slug}.html'
PAGE_URL= 'pages/{slug}.html'
PAGE_SAVE_AS= 'pages/{slug}.html'
OUTPUT_PATH = 'docs/'
PATH = "content"
THEME = "notmyidea"
TIMEZONE = 'America/Chicago'
DEFAULT_LANG = 'en'
# 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
# Blogroll
LINKS = (
("NOAA Storm Prediction Center", "https://www.spc.noaa.gov/products/outlook/day1otlk.html"),
("Active Weather Hazards", "https://www.weather.gov/"),
("My Github Page", "https://github.com/estevezb"),
#("You can modify those links in your config file", "#"),
)
# Social widget
SOCIAL = (
("Twitter/X", "https://x.com/bestevez100"),
#("Another social link", "#"),
)
DEFAULT_PAGINATION = 5
DISPLAY_PAGES_ON_MENU = True
DISPLAY_CATEGORIES_ON_MENU = True
# MENUITEMS = (
# ('About Me', 'pages/about-me.html'),
# ('Python Examples', 'category/python-examples.html'),
# ('Tornado Analysis', 'category/tornado-analysis.html'),
# )
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
JINJA_ENVIRONMENT = {
'extensions': ['jinja2.ext.i18n'],
}
MARKUP = ("md", "ipynb")
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['i18n_subsites', nb_markup]
IGNORE_FILES = [".ipynb_checkpoints"]
IPYNB_MARKUP_USE_FIRST_CELL = True
STATIC_PATHS = ['images']
I18N_TEMPLATES_LANG = 'en'
BOOTSTRAP_THEME = 'flatly'
PYGMENTS_STYLE = 'monokai'
FAVICON = 'images/favicon-48x48.png'