From 6095b7d857978223144f43a941ff894845b5eb24 Mon Sep 17 00:00:00 2001 From: Ricky de Laveaga Date: Fri, 2 Aug 2024 13:16:10 -0700 Subject: [PATCH 1/4] Fix: dropdown-menu highlight overview links nav (main_nav) .dropdown-menu section.highlight links were using nav_item.overview.title instead of nav_item.overview.link and some of the data in main_nav.yml pointed to nonexistent pages. --- src/_data/main_nav.yml | 4 ++-- src/_includes/nav/_main.html | 2 +- src/_includes/nav/_mobile.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/_data/main_nav.yml b/src/_data/main_nav.yml index 317aaf5..fcbffe2 100644 --- a/src/_data/main_nav.yml +++ b/src/_data/main_nav.yml @@ -3,7 +3,7 @@ "title": "Admissions", "overview": { "title": "Admissions Overview", - "link": "/admission-overview", + "link": "#", "media": { "image": "/assets/students.jpg", "alt": "Students in the admissions office" @@ -75,7 +75,7 @@ "title": "Academics", "overview": { "title": "Academics Overview", - "link": "/academics-overview", + "link": "#", "media": { "image": "/assets/studying.jpg", "alt": "Students studying" diff --git a/src/_includes/nav/_main.html b/src/_includes/nav/_main.html index 304887f..ebf54a6 100644 --- a/src/_includes/nav/_main.html +++ b/src/_includes/nav/_main.html @@ -12,7 +12,7 @@