diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index 45727e2d2..e1ca8b824 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -137,7 +137,7 @@ $endif$
 
         // Disables the default reveal.js slide layout (scaling and centering)
         // so that you can use custom CSS layout
-        disableLayout: false,
+        disableLayout: $disableLayout$,
 
         // Vertical centering of slides
         center: $center$,