NIHVIVO-1234 Removed separation of body and root maps in Freemarker controllers. Combine everything into one map, which includes the name of the body template also, to be invoked from the page template. Simplifies the logic considerably, in both controllers and templates, and allows the template author to dump the name of the body template rather than having to inspect the controller code.
This commit is contained in:
parent
fe1d574021
commit
df3a3dd1c7
11 changed files with 94 additions and 123 deletions
5
webapp/web/templates/freemarker/body/home.ftl
Normal file
5
webapp/web/templates/freemarker/body/home.ftl
Normal file
|
@ -0,0 +1,5 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template for home page body contents -->
|
||||
|
||||
<p>This is the Vitro home page.</p>
|
Loading…
Add table
Add a link
Reference in a new issue