diff --git a/themes/vivo-basic/templates/head.ftl b/themes/vivo-basic/templates/head.ftl
index 4b7db3b3..c5b27a21 100644
--- a/themes/vivo-basic/templates/head.ftl
+++ b/themes/vivo-basic/templates/head.ftl
@@ -1,11 +1,13 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
-
-
-
${title}
-
- <#include "stylesheets.ftl">
-
-
-
- <#include "headScripts.ftl">
\ No newline at end of file
+
+
+${title}
+
+<#include "stylesheets.ftl">
+
+
+
+<#include "headScripts.ftl">
+
+${headContent!}
\ No newline at end of file
diff --git a/themes/wilma/templates/head.ftl b/themes/wilma/templates/head.ftl
index c781046b..b597cbaa 100644
--- a/themes/wilma/templates/head.ftl
+++ b/themes/wilma/templates/head.ftl
@@ -1,29 +1,33 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
-
-
-
-
- ${title}
-
-
-
-
-
- <#include "stylesheets.ftl">
-
-
- <#include "headScripts.ftl">
-
-
+
+
+
-
-
-
\ No newline at end of file
+${title}
+
+
+
+<#include "stylesheets.ftl">
+
+
+
+<#include "stylesheets.ftl">
+
+
+<#include "headScripts.ftl">
+
+
+
+
+
+
+
+${headContent!}
\ No newline at end of file