浏览代码

Offer a link to directly edit the current page on GitHub

Kevin van Zonneveld 9 年之前
父节点
当前提交
10710e0459
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      website/themes/uppy/layout/page.ejs

+ 3 - 1
website/themes/uppy/layout/page.ejs

@@ -14,5 +14,7 @@
         <% }) %>
         <% }) %>
       </div>
       </div>
     <% } %>
     <% } %>
-    <div class="footer">Caught a mistake or want to contribute to the documentation? <a href="https://github.com/transloadit/uppy" target="_blank">Fork this site on Github</a>!</div>
+    <div class="footer">Caught a mistake or want to contribute to the documentation?
+       <a href="https://github.com/transloadit/uppy/blob/master/website/src/<%- page.source %>" target="_blank">Edit/fork this page directly on Github</a>!
+    </div>
 </div>
 </div>