A new approach to widgets, that will allow them to be invoked directly from a page template, rather than a body template, but still add files to the template stylesheets and scripts objects.
This commit is contained in:
parent
c178c8d922
commit
c0d24139dc
4 changed files with 61 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template for home page body contents -->
|
||||
<#-- Template for home page body contents. This file is deliberately empty, for use by themes that define a full
|
||||
page template for the home page and do not use a separate body template. The HomePageController defines a
|
||||
body template, for those themes that do not use a distinct page template for the home page, so that they
|
||||
can provide the home page body content. The default empty template is defined so Freemarker doesn't throw an error
|
||||
when it tries to get the template. (Or should we just let Freemarker log an error? It doesn't prevent the page
|
||||
from displaying.) -->
|
||||
|
||||
<p>This is the Vitro home page.</p>
|
Loading…
Add table
Add a link
Reference in a new issue