From e156ba0078db675338438aa5dd2a51693d7aa45f Mon Sep 17 00:00:00 2001 From: Shale XIONG <shalexiong@dyn1169-96.wlan.ic.ac.uk> Date: Fri, 18 Nov 2016 11:05:25 +0000 Subject: [PATCH] fix the href. --- _includes/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/header.html b/_includes/header.html index 448d7b3..3034292 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -9,7 +9,7 @@ {% if menu_items.first.parent_menu %} {% assign check_url = menu_items.first.parent_menu | downcase | prepend: '/' | append: '/' %} <li class="dropdown"> - <a class="nav-link {% if page.url contains check_url %}active{% endif %} dropbtn" href="#">{{ menu_items.first.parent_menu }}</a> + <a class="nav-link {% if page.url contains check_url %}active{% endif %} dropbtn" href="">{{ menu_items.first.parent_menu }}</a> <div class="dropdown-content"> {% for item in menu_items %} <a class="nav-link {% if item.url == page.url %}active{% endif %}" href="{{ item.url | prepend: site.baseurl }}">{{ item.title }}</a> -- GitLab