diff --git a/_includes/sidebar-toc-multipage-overview.html b/_includes/sidebar-toc-multipage-overview.html
index 9f1feb5636..ce42167c98 100644
--- a/_includes/sidebar-toc-multipage-overview.html
+++ b/_includes/sidebar-toc-multipage-overview.html
@@ -40,6 +40,7 @@
Contents
{% endfor %}
+ {% assign orphanTranslation = page.orphanTranslation | default: false %}
{% if page.languages %}
- {% elsif page.language and page.orphanTranslation == false %}
+ {% elsif page.language and orphanTranslation == false %}
{% assign engPath = page.id | remove_first: "/" | remove_first: page.language | append: '.html' %}
{% assign engPg = site.overviews | where: 'partof', page.partof | first %}
diff --git a/_includes/sidebar-toc-singlepage-overview.html b/_includes/sidebar-toc-singlepage-overview.html
index 49d2a6971c..cead129be1 100644
--- a/_includes/sidebar-toc-singlepage-overview.html
+++ b/_includes/sidebar-toc-singlepage-overview.html
@@ -3,6 +3,7 @@
Contents