don't show the "Edit on GitHub" for the search page
This commit is contained in:
parent
352477bbac
commit
36c9519fb1
@ -92,7 +92,7 @@
|
||||
{% block body %} {% endblock %}
|
||||
</div>
|
||||
{# Do not show the edition link for pages without content #}
|
||||
{% if github_link and not 'has_only_toc' in meta %}
|
||||
{% if github_link and 'has_only_toc' not in meta and pagename != 'search' %}
|
||||
<a href="{{ github_link(mode='edit') }}" class="o_git_link"><i class="i-edit"></i> Edit on GitHub</a>
|
||||
{% endif %}
|
||||
</article>
|
||||
|
Loading…
Reference in New Issue
Block a user