Additions to freemarker samples page
This commit is contained in:
parent
8c0124819c
commit
900caff315
4 changed files with 8 additions and 17 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
<#-- FreeMarker samples -->
|
||||
|
||||
<#import "lib-datetime.ftl" as dt>
|
||||
|
||||
<h2>${title}</h2>
|
||||
|
||||
<@widget name="test" />
|
||||
|
@ -13,6 +15,9 @@
|
|||
<li>Current time: ${now?time}</li>
|
||||
</ul>
|
||||
|
||||
<h3>Formatted datetime</h3>
|
||||
<p><p>${dt.xsdDateTimeToYear(xsddatetime)}</p>
|
||||
|
||||
<h3>Apples</h3>
|
||||
<ul>
|
||||
<#list apples as apple>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue