From aabd2e1c5f7298b99e84f1fdff87a5e3a8611d4f Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 24 Dec 2017 21:51:06 +0100 Subject: [PATCH] Made header menu dynamic * closes #3 * see #6 Signed-off-by: Jim Martens --- _data/header-menu.yml | 5 +++++ _includes/header.html | 39 +++++++++++++++++++-------------------- 2 files changed, 24 insertions(+), 20 deletions(-) create mode 100644 _data/header-menu.yml diff --git a/_data/header-menu.yml b/_data/header-menu.yml new file mode 100644 index 0000000..9c8b8a9 --- /dev/null +++ b/_data/header-menu.yml @@ -0,0 +1,5 @@ +items: + - link: /about/# + title: About + - link: /media + title: Media \ No newline at end of file diff --git a/_includes/header.html b/_includes/header.html index 2a858f9..85c9570 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -14,26 +14,25 @@