From e9c25a771b5385637f402a10309566f7a1565045 Mon Sep 17 00:00:00 2001 From: Christian Martin Date: Mon, 20 Apr 2020 21:31:26 -0400 Subject: [PATCH 1/2] Add dropdown to navbar --- _data/tabs.yml | 20 +++++++++++--------- _includes/layout/header.html | 21 ++++++++++++++++----- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/_data/tabs.yml b/_data/tabs.yml index e5d2bd0..32fc786 100644 --- a/_data/tabs.yml +++ b/_data/tabs.yml @@ -2,19 +2,21 @@ link: / - name: About - link: /about/ + dropdown: + - name: About + link: /about/ + - name: LibreCorps + link: /librecorps/ + - name: Events + link: /events/ + - name: Projects + link: /projects/ - name: Announcements link: /announcements/ -- name: Events - link: /events/ - -- name: LibreCorps - link: /librecorps/ - -- name: Projects - link: /projects/ +- name: Calendar + link: /calendar/ - name: Get Involved link: /get-involved/ diff --git a/_includes/layout/header.html b/_includes/layout/header.html index 96bb118..a614494 100644 --- a/_includes/layout/header.html +++ b/_includes/layout/header.html @@ -11,13 +11,24 @@ From e24305a276eaa74c7f59fc95f0b8bf252e6329b4 Mon Sep 17 00:00:00 2001 From: Christian Martin Date: Mon, 20 Apr 2020 21:50:06 -0400 Subject: [PATCH 2/2] attempt to fix travis --- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 7887cd7..8a3329b 100644 --- a/Rakefile +++ b/Rakefile @@ -11,7 +11,8 @@ task :test do :url_ignore => [/projects/], :cache => { :timeframe => '6w' - } + }, + :allow_hash_href => true } HTMLProofer.check_directory("./_site/", options).run end