From 6047d9e0f8a23c89095c07915a87687e16498ff5 Mon Sep 17 00:00:00 2001 From: Michael Kohlhase <michael.kohlhase@fau.de> Date: Thu, 21 Dec 2017 08:22:00 +0100 Subject: [PATCH] maybe repository is a reserved variable name --- _config.yml | 3 ++- _includes/sidebar.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 7cafe26..cad89da 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 6209138..1ca5cbb 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/> -- GitLab