{% extends "!breadcrumbs.html" %}

{% block breadcrumbs_aside %}
<li class="wy-breadcrumbs-aside">
{% if pagename != "search" %}
  {% if display_github %}
    {% if github_version == "master" %}
      <a href="https://{{ github_host|default("github.com") }}/{{ github_user }}/{{ github_repo }}/edit/{{ github_version }}{{ conf_py_path }}{{ pagename }}{{ page_source_suffix }}" class="fa fa-github"> {{ _('Edit on GitHub') }}</a>
    {% endif %}
  {% elif show_source and has_source and sourcename %}
    <a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow"> {{ _('View page source') }}</a>
  {% endif %}
{% endif %}
</li>
{% endblock %}
