corrade-nucleus-nucleons – Blame information for rev 24
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | <#ftl encoding="utf-8" /> |
2 | <#setting locale="en_US" /> |
||
3 | <#import "library" as lib /> |
||
4 | <#-- |
||
5 | FreeMarker comment |
||
6 | ${abc} <#assign a=12 /> |
||
7 | --> |
||
8 | |||
9 | <!DOCTYPE html> |
||
10 | <html lang="en-us"> |
||
11 | <head> |
||
12 | <meta charset="utf-8" /> |
||
13 | |||
14 | <title>${title!"FreeMarker"}<title> |
||
15 | </head> |
||
16 | |||
17 | <body> |
||
18 | |||
19 | <h1>Hello ${name!""}</h1> |
||
20 | |||
21 | <p>Today is: ${.now?date}</p> |
||
22 | |||
23 | <#assign x = 13> |
||
24 | <#if x > 12 && x lt 14>x equals 13: ${x}</#if> |
||
25 | |||
26 | <ul> |
||
27 | <#list items as item> |
||
28 | <li>${item_index}: ${item.name!?split("\n")[0]}</li> |
||
29 | </#list> |
||
30 | </ul> |
||
31 | |||
32 | User directive: <@lib.function attr1=true attr2='value' attr3=-42.12>Test</@lib.function> |
||
33 | <@anotherOne /> |
||
34 | |||
35 | <#if variable?exists> |
||
36 | Deprecated |
||
37 | <#elseif variable??> |
||
38 | Better |
||
39 | <#else> |
||
40 | Default |
||
41 | </#if> |
||
42 | |||
43 | <img src="images/${user.id}.png" /> |
||
44 | |||
45 | </body> |
||
46 | </html> |