diff --git a/cmssite/data/CmsSiteDemoData.xml b/cmssite/data/CmsSiteDemoData.xml
index 35cd7c6a7..92032fce4 100644
--- a/cmssite/data/CmsSiteDemoData.xml
+++ b/cmssite/data/CmsSiteDemoData.xml
@@ -101,7 +101,7 @@ under the License.
-
+
@@ -114,7 +114,7 @@ under the License.
-
+
@@ -130,16 +130,16 @@ under the License.
-
+
-
+
-
+
@@ -194,7 +194,7 @@ under the License.
-
+
@@ -219,8 +219,8 @@ under the License.
-
-
-
+
+
+
diff --git a/cmssite/template/cms/MainDecorator.ftl b/cmssite/template/cms/MainDecorator.ftl
index 5bc6abed3..2016bc987 100644
--- a/cmssite/template/cms/MainDecorator.ftl
+++ b/cmssite/template/cms/MainDecorator.ftl
@@ -16,11 +16,10 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
-<#if decoratedContent??>
+
${(decoratedContent.subcontent.htmlHead)?default((thisContent.subcontent.htmlHead)!)}
${(decoratedContent.subcontent.header)?default((thisContent.subcontent.header)!)}
${decoratedContent}
${(decoratedContent.subcontent.footer)?default((thisContent.subcontent.footer)!)}
-#if>
\ No newline at end of file
diff --git a/ecommerce/data/DemoWebSitePublishPointData.xml b/ecommerce/data/DemoWebSitePublishPointData.xml
index bc0d71339..587a0f49b 100644
--- a/ecommerce/data/DemoWebSitePublishPointData.xml
+++ b/ecommerce/data/DemoWebSitePublishPointData.xml
@@ -25,39 +25,39 @@ under the License.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -79,7 +79,7 @@ under the License.
-
@@ -96,6 +96,6 @@ under the License.
-
diff --git a/ecommerce/script/org/ofbiz/ecommerce/data/topic.ftl b/ecommerce/script/org/ofbiz/ecommerce/data/topic.ftl
index 32db3456b..333b94afa 100644
--- a/ecommerce/script/org/ofbiz/ecommerce/data/topic.ftl
+++ b/ecommerce/script/org/ofbiz/ecommerce/data/topic.ftl
@@ -34,7 +34,7 @@ under the License.
<#assign firstPart=internalNameParts[0] />
<#assign nowStamp=Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp()/>
<#if firstPart == "WIDGETS">
-
+
#if>
#macro>