diff --git a/ccm-cms-default-theme/src/main/resources/themes/librecms/templates/index-page.html.ftl b/ccm-cms-default-theme/src/main/resources/themes/librecms/templates/index-page.html.ftl
index f66d6bc54..ce20c84f9 100644
--- a/ccm-cms-default-theme/src/main/resources/themes/librecms/templates/index-page.html.ftl
+++ b/ccm-cms-default-theme/src/main/resources/themes/librecms/templates/index-page.html.ftl
@@ -1,22 +1,14 @@
-
-
-
-
-
- Default Template
-
-
-
-
Index page
-
This theme works.
-
- - application
- - ${application}
- - themeUrl
- - ${themeUrl}
- - view
- - ${view!""}
-
-
-
-
\ No newline at end of file
+<#import "./main.html.ftl" as main>
+
+<@main.librecms>
+ Index page
+ This theme works.
+
+ - application
+ - ${application}
+ - themeUrl
+ - ${themeUrl}
+ - view
+ - ${view!""}
+
+@main.librecms>
\ No newline at end of file
diff --git a/ccm-cms-default-theme/src/main/resources/themes/librecms/templates/main.html.ftl b/ccm-cms-default-theme/src/main/resources/themes/librecms/templates/main.html.ftl
new file mode 100644
index 000000000..cd870c2ad
--- /dev/null
+++ b/ccm-cms-default-theme/src/main/resources/themes/librecms/templates/main.html.ftl
@@ -0,0 +1,15 @@
+<#macro librecms scripts=[]>
+
+
+
+
+
+ Default Template
+
+
+
+ <#nested>
+
+
+
+#macro>
\ No newline at end of file