diff --git a/common-theme/layouts/_default/overview.html b/common-theme/layouts/_default/overview.html index 9e503adae..0ab0cea06 100644 --- a/common-theme/layouts/_default/overview.html +++ b/common-theme/layouts/_default/overview.html @@ -8,7 +8,10 @@ {{ if not $overviewMenu }} {{ errorf "You must define a menu in your overview_menu front matter param" }} {{ end }} - + {{ if not (index .Site.Menus $overviewMenu) }} + {{ errorf "Overview page tried to generate overview for menu %s which is empty" $overviewMenu }} + {{ end }} + {{ range index .Site.Menus $overviewMenu }}
{{/* =========================== diff --git a/org-cyf-itp/content/overview/_index.md b/org-cyf-itp/content/overview/_index.md index 81c07b99b..c71b117ee 100644 --- a/org-cyf-itp/content/overview/_index.md +++ b/org-cyf-itp/content/overview/_index.md @@ -1,7 +1,7 @@ +++ title="Course overview" layout="overview" -overview_menu="programming" +overview_menu="course schedule" menu=["start here", "syllabus"] description="4 modules of 3 sprints delivered over 12-16 weeks" weight=2 diff --git a/org-cyf-itp/content/welcome/prep/index.md b/org-cyf-itp/content/welcome/prep/index.md index 1094aa7b1..4e8a4bd5f 100644 --- a/org-cyf-itp/content/welcome/prep/index.md +++ b/org-cyf-itp/content/welcome/prep/index.md @@ -3,6 +3,7 @@ title = 'Prep' description = 'What to do before you come to class' layout = 'prep' emoji= '🧑🏾‍💻' +theme = "Getting to know how the course works" menu_level = ['module'] weight = 1 [[blocks]]