From 11c41600b441d6fb52139fa8e96f9882cc518296 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Wed, 8 Dec 2021 10:23:20 +0000 Subject: [PATCH] Fix pageview mode Broken by https://github.com/readthedocs/sphinx_rtd_theme/pull/1010 --- docs/source/_templates/breadcrumbs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/_templates/breadcrumbs.html b/docs/source/_templates/breadcrumbs.html index 838eb0c453..7aafbdcf27 100644 --- a/docs/source/_templates/breadcrumbs.html +++ b/docs/source/_templates/breadcrumbs.html @@ -26,7 +26,7 @@ {% endif %} {% if github_url is not defined %} -{% set github_url = 'https://' + github_host|default('github.com') + '/' + github_user + '/' + github_repo + '/' + theme_vcs_pageview_mode|default('blob') + '/' + github_version + '/' + pagename %} +{% set github_url = 'https://' + github_host|default('github.com') + '/' + github_user + '/' + github_repo + '/' + (theme_vcs_pageview_mode or 'blob') + '/' + github_version + '/' + pagename %} {% endif %}