-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
68 lines (51 loc) · 1.41 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
"""
Configuration for the site build
"""
import os
from datetime import datetime
AUTHOR = "Shane Jaroch"
SITENAME = "Blog | NutraTech"
SITEURL = os.getenv("NUTRA_BLOG_BASE_URL") or str()
PATH = "content"
ARTICLE_SAVE_AS = "{date:%Y}/{date:%m}/{slug}.html"
ARTICLE_URL = "{date:%Y}/{date:%m}/{slug}.html"
TIMEZONE = "America/Detroit"
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
BROWSER_COLOR = "#333333"
PYGMENTS_STYLE = "monokai"
# Blogroll
LINKS = ()
# Social widget
SOCIAL = (
("GitHub", "https://github.com/nutratech"),
("Facebook", "https://www.facebook.com/nutrallc/"),
)
# GITHUB_CORNER_URL = "https://github.com/nutratech"
# MENUITEMS = (
# ("Archives", "/archives.html"),
# ("Categories", "/categories.html"),
# ("Tags", "/tags.html"),
# )
CC_LICENSE = {
"name": "Creative Commons Attribution-ShareAlike 4.0 International License",
"version": "4.0",
"slug": "by-sa",
"icon": True,
"language": "en_US",
}
COPYRIGHT_YEAR = datetime.now().year
DEFAULT_PAGINATION = 10
THEME = "themes/elegant"
THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE = True
THEME_COLOR_ENABLE_USER_OVERRIDE = True
PLUGINS = [
"pelican_youtube",
]
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True