diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html
index 5abff1b3989..8ae6e23f80d 100644
--- a/Doc/tools/templates/layout.html
+++ b/Doc/tools/templates/layout.html
@@ -18,7 +18,7 @@
{% if not embedded %}{% endif %}
{% if versionswitcher is defined and not embedded %}{% endif %}
- {% if pagename == 'whatsnew/changelog' %}
+ {% if pagename == 'whatsnew/changelog' and not embedded %}