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
a78210e137
commit
10c352dbf9
3 changed files with 9 additions and 2 deletions
|
@ -82,7 +82,8 @@ ${headScripts.tags}
|
|||
</ul>
|
||||
</nav>
|
||||
<div id="wrapper-content">
|
||||
${body}
|
||||
<#-- ${body} -->
|
||||
<#include bodyTemplate>
|
||||
</div>
|
||||
<footer>
|
||||
<div id="footer-content">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue