File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
common-theme/layouts/_default Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 8
8
{{ if not $overviewMenu }}
9
9
{{ errorf "You must define a menu in your overview_menu front matter param" }}
10
10
{{ end }}
11
-
11
+ {{ if not (index .Site.Menus $overviewMenu) }}
12
+ {{ errorf "Overview page tried to generate overview for menu %s which is empty" $overviewMenu }}
13
+ {{ end }}
14
+
12
15
{{ range index .Site.Menus $overviewMenu }}
13
16
< section class ="c-overview ">
14
17
{{/* ===========================
Original file line number Diff line number Diff line change 1
1
+++
2
2
title =" Course overview"
3
3
layout =" overview"
4
- overview_menu =" programming "
4
+ overview_menu =" course schedule "
5
5
menu =[" start here" , " syllabus" ]
6
6
description =" 4 modules of 3 sprints delivered over 12-16 weeks"
7
7
weight =2
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ title = 'Prep'
3
3
description = ' What to do before you come to class'
4
4
layout = ' prep'
5
5
emoji = ' 🧑🏾💻'
6
+ theme = " Getting to know how the course works"
6
7
menu_level = [' module' ]
7
8
weight = 1
8
9
[[blocks ]]
You can’t perform that action at this time.
0 commit comments