Skip to content

Commit

Permalink
Theme: Do not show "Edit on GitHub" on search.html.
Browse files Browse the repository at this point in the history
Right now is the only page generated by the theme, if more pages
are added into the future they should be included in the blacklist
in the breadcrumbs.html file.
  • Loading branch information
carlosperate committed Dec 31, 2019
1 parent d9ed598 commit 46a4c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
{%- endif %}
{%- endif %}
<li class="wy-breadcrumbs-aside">
{%- unless site.edit_on_github == false %}
{%- if site.edit_on_github != false and page and page.name != "search.html" %}
<a href="{{ site.repo_url | url }}/blob/master/{%- if site.github_docs_folder %}docs/{% endif %}{{ page.path }}" class="icon icon-github" target="_blank"> Edit on GitHub</a>
{%- endunless %}
{%- endif %}
</li>
</ul>

Expand Down

0 comments on commit 46a4c1c

Please sign in to comment.