diff --git a/docs/index.html b/docs/index.html
index 1d4529497e..f22658883a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -123,7 +123,7 @@
if (vm.route.path.search('i18n') === -1) {
var dynamicText =
'[ Edit this guide on GitHub](' +
- 'https://github.com/freeCodeCamp/freeCodeCamp/blob/master/docs/' +
+ 'https://github.com/freeCodeCamp/freeCodeCamp/blob/main/docs/' +
vm.route.file +
')';
}
@@ -179,4 +179,4 @@