diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2018-10-11 20:42:17 +0300 |
---|---|---|
committer | Marcia Ramos <virtua.creative@gmail.com> | 2018-10-11 20:42:17 +0300 |
commit | 6ff27743fcbcd2af7ee64356da80483b51e824c1 (patch) | |
tree | a436466c51133b1e402731f6ccb3036f2fe82a87 /layouts | |
parent | 0285dff1317f6ec8416ef3820bac65a5f82b64d3 (diff) |
remove redundant "edit this page" button from the default layout
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/default.html | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/layouts/default.html b/layouts/default.html index 9f2e5e96..a03ba587 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -43,12 +43,6 @@ <div class="article-content js-article-content" role="main" itemscope itemprop="mainContentOfPage"> <%= yield %> </div> - <% if ENV['NANOC_ENV'] == 'production' && ENV['CI_COMMIT_REF_NAME'] == 'master' %> - <%# Show Edit button only in production and on master branch (hide archives) %> - <div class="edit-on"> - <a class="btn btn-tanuki btn-default" href="<%= edit_on_gitlab(@item) %>">Edit this page</a> - </div> - <% end %> <% if @item[:last_updated] %> <hr> <p class="last-updated"> |