From 16e83704d0cfb19aacfc2f0f362360da7d3c55de Mon Sep 17 00:00:00 2001
From: Patrick Marsceill <pmarsceill@users.noreply.github.com>
Date: Mon, 27 Apr 2020 14:18:28 -0400
Subject: [PATCH] Update default.html

---
 _layouts/default.html | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/_layouts/default.html b/_layouts/default.html
index 7bbba13b..ba551ad3 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -95,14 +95,15 @@ layout: table_wrappers
               {% endif %}
               {% 
                 if 
-                  site.gh_edit_link and 
-                  site.gh_edit_link_text and 
-                  site.gh_edit_repository and 
-                  site.gh_edit_view_mode and 
-                  site.gh_edit_branch
+                  site.gh_edit_link and
+                  site.gh_edit_link_text and
+                  site.gh_edit_repository and
+                  site.gh_edit_branch and
+                  site.gh_edit_view_mode
+
               %}
               <p class="text-small text-grey-dk-000 mb-0">
-                <a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}/{{ page.path }}">{{ site.edit_link_text }}</a>
+                <a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}/{{ page.path }}">{{ site.gh_edit_link_text }}</a>
               </p>
               {% endif %}
               {% if site.footer_content != nil %}
-- 
GitLab