mirror of https://github.com/lukechilds/docs.git
Mary Anthony
5 years ago
3 changed files with 7 additions and 5 deletions
@ -1,4 +1,5 @@ |
|||
{% assign theCol = site.collections | where: "label", page.collection | first %} |
|||
<!-- {% assign theCol = site.collections | where: "label", page.collection | first %} --> |
|||
|
|||
{% assign filename = page.slug | append: '.md' %} |
|||
<a "target="_blank" href="https://github.com/{{theCol.basepath}}/{{filename}}{% unless page.url contains "index.html" %}{% endunless %}" class="btn btn-default githubEditButton" role="button"> |
|||
<a "target="_blank" href="https://github.com/{{site.github_editme_path}}/{{page.relative_path}}{% unless page.url contains "index.html" %}{% endunless %}" class="btn btn-default githubEditButton" role="button"> |
|||
<span data-uk-icon="icon: pencil; ratio: 1.2"></span> Edit this page on Github</a> |
|||
|
Loading…
Reference in new issue