From 46255996ae6d00b2b85938f04cf07ce009609f15 Mon Sep 17 00:00:00 2001 From: Michael Kohlhase <michael.kohlhase@fau.de> Date: Thu, 21 Dec 2017 08:11:11 +0100 Subject: [PATCH] fixing edit link --- _includes/sidebar.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 1449de6..6209138 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -23,8 +23,7 @@ <a href="https://github.com/{{ site.github.owner_name }}"><img class="icon" src="{{ site.baseurl }}/public/gitlab.png" alt="github"/></a> </span><br/> - <a class="sidebar-nav-item" href="{{ site.github.zip_url | replace: 'zipball', - 'edit' }}/{% if page.source %}{{ page.source }}{% + <a class="sidebar-nav-item" href="{{site.repository}}/edit/master/{% if page.source %}{{ page.source }}{% else %}{{ page.path }}{% endif %}">Edit this page</a> (<a class="sidebar-nav-item" href="{{ site.sources }}">HowTo</a>)<br/> -- GitLab