diff --git a/_layouts/default.html b/_layouts/default.html
index 86f7469ad908850d1b74ee869c9c60874631151e..0b714bcdc650531e23cd527e33c9fd0cfb9001d3 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -96,8 +96,8 @@ layout: table_wrappers
               {% endif %}
               {% 
                 if 
-                  site.show_gh_edit_link and 
-                  site.edit_link_text and 
+                  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