diff --git a/_layouts/default.html b/_layouts/default.html
index 86f7469..0b714bc 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