-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpelicanconf.py
More file actions
83 lines (68 loc) · 2.07 KB
/
Copy pathpelicanconf.py
File metadata and controls
83 lines (68 loc) · 2.07 KB
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
83
AUTHOR = 'University of Alberta'
SITENAME = 'CMPUT 402'
SITESUBTITLE = 'Software Quality'
SITEURL = ""
PATH = "content"
TIMEZONE = 'America/Edmonton'
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 = (
# ("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", "#"),
# )
LINKS = ()
# Social widget
# SOCIAL = (
# ("You can add links in your config file", "#"),
# ("Another social link", "#"),
# )
SOCIAL = ()
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
THEME = 'templates/cmput402'
MARKDOWN = {
'extension_configs': {
'markdown.extensions.codehilite': {'css_class': 'highlight'},
'markdown.extensions.extra': {},
'markdown.extensions.meta': {},
'markdown.extensions.toc': {
'toc_depth': '3-7',
'baselevel': '3'
},
'markdown.extensions.tables': {},
},
'output_format': 'html5',
}
DATE_FORMATS = {
'en': '%a, %d %b %Y at %H:%M %Z',
}
STATIC_PATHS=[]
PATH_METADATA = r'(?P<path_no_ext>.*)\..*'
ARTICLE_URL = ARTICLE_SAVE_AS = PAGE_URL = PAGE_SAVE_AS = '{path_no_ext}.html'
STATIC_URL = STATIC_SAVE_AS = '{path}'
DISPLAY_CATEGORIES_ON_MENU=False
DISPLAY_PAGES_ON_MENU=False
INDEX_SAVE_AS="all.html"
MENUITEMS=[
("Outline", "/general/outline.html"),
("Canvas&Grades", "/#canvas"),
("Schedule", "/#schedule"),
("Labs", "/general/labs.html"),
("Project", "/general/project.html"),
("Assignments", "/general/individual.html"),
("Resources", "/general/resources.html"),
("Discussion Forum", "/general/help.html#discussion-forum"),
("News&Notices", "/#news-notices"),
("Zoom", "/#lecture-zoom"),
("Slides", "/#lecture-material"),
("Help", "/general/help.html"),
]