diff --git a/productMods/WEB-INF/web.xml b/productMods/WEB-INF/web.xml index 775b2ce7..0c96a979 100644 --- a/productMods/WEB-INF/web.xml +++ b/productMods/WEB-INF/web.xml @@ -343,6 +343,15 @@ /about + + HomePageController + edu.cornell.mannlib.vitro.webapp.controller.freemarker.HomePageController + + + HomePageController + /index.jsp + + FreemarkerTestController edu.cornell.mannlib.vitro.webapp.controller.freemarker.TestController @@ -951,18 +960,6 @@ /TabEntitiesController - - - TabController - edu.cornell.mannlib.vitro.webapp.controller.TabController - - - TabController - /index.jsp - - + +<#include "doctype.html"> + +<#include "head.ftl"> + + +
+ + + + +
+
+ <#-- UI team: the home page controller currently does not produce a ${body} string, + anticipating that you would put all the markup directly in page-home.ftl. If you want + it to work the way other pages do, with a separate template to produce the body, + <#-- ${body!} --> +

This is the home page of the VIVO vivo-basic theme.

+
+
+ + <#include "footer.ftl"> + +
+ + <#include "scripts.ftl"> + + + +<#-- +Three ways to add a stylesheet: + +A. In theme directory: +${stylesheets.addFromTheme("/css/sample.css")} +${stylesheets.add(themeDir + "/css/sample.css")} + +B. Any location +${stylesheets.add("/edit/forms/css/sample.css)"} + +To add a script: + +A. In theme directory: +${scripts.addFromTheme("/css/sample.js")} + +B. Any location +${scripts("/edit/forms/js/sample.js)"} +--> \ No newline at end of file diff --git a/themes/wilma/templates/page.ftl b/themes/wilma/templates/page.ftl index 05b15d1d..e4c1bb14 100644 --- a/themes/wilma/templates/page.ftl +++ b/themes/wilma/templates/page.ftl @@ -69,7 +69,7 @@ ${headScripts.tags}
- ${body} + ${body!}