diff --git a/shared/layouts/docs/default.html b/shared/layouts/docs/default.html
index f5a124241..1a268d610 100644
--- a/shared/layouts/docs/default.html
+++ b/shared/layouts/docs/default.html
@@ -5,7 +5,7 @@
- {% if environment == 'preview' %}
+ {% if environment == 'production' %}
{% assign pageSection = "" %}
{% if page.url contains "/ui/" %}