Skip to content

Commit

Permalink
Properly builds edit URLs for sites with /docs source
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Aug 16, 2017
1 parent 24e3e73 commit 5d60072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>

{% if site.github.private != true and site.github.license %}
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">
This site is open source. <a href="{{ site.github.repository_url }}/edit/{{ site.github.source.branch }}{{ site.github.source.path }}{{ page.path }}">Help improve this page</a>.
This site is open source. <a href="{{ site.github.repository_url }}/edit/{{ site.github.source.branch }}{{ site.github.source.path }}/{{ page.path }}">Help improve this page</a>.
</div>
{% endif %}
</div>
Expand Down

0 comments on commit 5d60072

Please sign in to comment.