diff --git a/readthedocs/templates/sphinx/sphinx_rtd_theme/breadcrumbs.html b/readthedocs/templates/sphinx/sphinx_rtd_theme/breadcrumbs.html index 0028421e1ca..95373596d3e 100644 --- a/readthedocs/templates/sphinx/sphinx_rtd_theme/breadcrumbs.html +++ b/readthedocs/templates/sphinx/sphinx_rtd_theme/breadcrumbs.html @@ -6,7 +6,7 @@ {% endfor %}
  • {{ title }}
  • - {% if pagename != "search" %} + {% if hasdoc(pagename) %} {% if display_github %} Edit on GitHub {% elif display_bitbucket %}