diff --git a/_config.yml b/_config.yml
index 2ca94c99cfde441b6292f3ea39ef155ea5ed0969..ba23d12ea74041491a2fac2a48f63647f7930dd6 100644
--- a/_config.yml
+++ b/_config.yml
@@ -65,7 +65,7 @@ semesters:
 
 # Custom vars
 version:             0.3.0
-repository:          https://gl.kwarc.info/kwarc/website  
+repository:          https://github.com/KWARC/kwarc.info
 tagfolder:           tag
 
 materialize:         materialize
diff --git a/_includes/footer.html b/_includes/footer.html
index b83ab85353b9eaf80d3d284a007f476d23f35b7c..0c4d4f6c4a6ac94adc605235b368f29a03f5bc81 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -25,7 +25,7 @@
           <i class="fa fa-pencil-square-o" aria-hidden="true"></i> Edit this page
         </a>
         
-        <a href="https://gl.kwarc.info/kwarc/website/#repository-holding-the-sources-of-the-KWARC.info-website" title="How to edit" class="waves-effect waves-teal btn-flat">
+        <a href="{{site.repository}}/#repository-holding-the-sources-of-the-KWARC.info-website" title="How to edit" class="waves-effect waves-teal btn-flat">
             <i class="fa fa-question-circle" aria-hidden="true"></i> How to edit
         </a>
       </div>