Commit ce20333
committed
Split off courses map from course map
Previously we had one `menus_to_map` frontmatter you could set, and in
the org-cyf repo we replaced how it mapped menus to look for course
data, and show duration, frequency, etc.
This change renames that to `menus_to_map_for_courses` so that org-cyf
doesn't have to override the partial any more. This allows org-cyf to
show both regular `menus_to_map` and `menus_to_map_for_courses` on
different pages, rather than only allowing one of them to be shown.
This is a somewhat simpler model (no inheritence to grok), and also
would make merging our sites easier if we want to.1 parent 5afe51d commit ce20333
File tree
3 files changed
+3
-1
lines changed- common-theme/layouts
- partials
- org-cyf/content
3 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
0 commit comments