From 0ef982ecc760bcf9768284ad50e684c5c34cadb6 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Tue, 12 Apr 2016 15:48:09 -0400 Subject: [PATCH] Add nav menu back in, with some custom front matter to explicitly enable pages in the menu. --- _includes/header.html | 8 ++++++++ pages/about.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/_includes/header.html b/_includes/header.html index fbcc09d..be4f39b 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -13,6 +13,14 @@ +
+ {% for my_page in site.pages %} + {% if my_page.title and my_page.in_menu %} + {{ my_page.title }} + {% endif %} + {% endfor %} +
+ diff --git a/pages/about.md b/pages/about.md index 65fa570..030955f 100644 --- a/pages/about.md +++ b/pages/about.md @@ -1,6 +1,6 @@ --- title: About -menu: true +in_menu: true permalink: /about/ --- ## About the Site