diff --git a/sphinx_rtd_theme/breadcrumbs.html b/sphinx_rtd_theme/breadcrumbs.html
index 90cb0ff86..cf64d1547 100644
--- a/sphinx_rtd_theme/breadcrumbs.html
+++ b/sphinx_rtd_theme/breadcrumbs.html
@@ -24,6 +24,8 @@
{% set display_gitlab = True %}
{% endif %}
+{% set display_vcs_links = display_vcs_links if display_vcs_links is defined else True %}
+
@@ -36,8 +38,8 @@
{% endblock %}
{% block breadcrumbs_aside %}
-
- {% if hasdoc(pagename) %}
- {% if display_github %}
+ {% if hasdoc(pagename) and display_vcs_links %}
+ {% if display_github %}
{% if check_meta and 'github_url' in meta %}
{{ _('Edit on GitHub') }}
diff --git a/sphinx_rtd_theme/search.html b/sphinx_rtd_theme/search.html
index 10ac568c4..296ef2615 100644
--- a/sphinx_rtd_theme/search.html
+++ b/sphinx_rtd_theme/search.html
@@ -9,6 +9,7 @@
#}
{%- extends "layout.html" %}
{% set title = _('Search') %}
+{% set display_vcs_links = False %}
{%- block scripts %}
{{ super() }}