diff --git a/_config.yml b/_config.yml index 7cafe26822a78c9265dda2eca1f3292b3b4d05d9..cad89daf3635a3ea97c0d78b69351fbfffa78ffa 100644 --- a/_config.yml +++ b/_config.yml @@ -25,7 +25,8 @@ author: email: michael.kohlhase@fau.de # twitter: OpenMathSoc -repository: https://gl.kwarc.info/SIGMathLing/website +repository_url: https://gl.kwarc.info/SIGMathLing/website +repository: SIGMathLing/website sources: https://gl.kwarc.info/SIGMathLing/website#the-sources-of-the-sigmathling-web-site collections: diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 6209138fb33ae2e95dbda12a358b3723b725f519..1ca5cbbb054f70abcba5f079df0fa3e8c256f9f6 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -23,7 +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.repository}}/edit/master/{% if page.source %}{{ page.source }}{% + <a class="sidebar-nav-item" href="{{site.repository_url}}/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/>