From ad3229dfc227394dc19e94ceb0811978839e9235 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Mon, 7 Aug 2017 15:41:29 -0500 Subject: [PATCH] Remove duplication in nav --- _includes/nav.html | 6 +++++- _layouts/app.html | 2 -- _layouts/default.html | 2 ++ _layouts/docs.html | 2 -- index.html | 10 ---------- 5 files changed, 7 insertions(+), 15 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index cf9b88e..c77c468 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,11 +1,15 @@ -
+{% if page.url == '/' %}{% assign homepage = true %}{% endif %} + +

+ {% unless homepage %} Probot + {% endunless %}