mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-08 04:51:23 -06:00
Merge pull request #519 from alexsegura/fix-collections-dir
Prepend site.collections_dir if any.
This commit is contained in:
commit
f8331f1c26
@ -177,7 +177,7 @@ layout: table_wrappers
|
|||||||
site.gh_edit_view_mode
|
site.gh_edit_view_mode
|
||||||
%}
|
%}
|
||||||
<p class="text-small text-grey-dk-000 mb-0">
|
<p class="text-small text-grey-dk-000 mb-0">
|
||||||
<a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
|
<a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}{% if page.collection and site.collections_dir %}/{{ site.collections_dir }}{% endif %}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user