Added GitLab support for GitLab pages and GitLab Edit Links

This commit is contained in:
chickahoona
2017-08-20 17:28:45 +02:00
parent 2690b49fe9
commit 12908878e0
14 changed files with 2731 additions and 567 deletions

View File

@ -45,6 +45,13 @@ layout: default
{% endif %}
{% if site.gitlab_editme_path %}
<a target="_blank" href="https://github.com/{{site.gitlab_editme_path}}{% unless page.url contains "index.html" %}pages/{% endunless %}{{page.folder}}{{page.url | remove: ".html" | append: ".md"}}" class="btn btn-default githubEditButton" role="button"><i class="fa fa-gitlab fa-lg"></i> Edit me</a>
{% endif %}
{{content}}
<div class="tags">