Debian Codegraph @

tests/inputs/FreemarkerTemplate.ftl

raw
1 <html>
2 <head>
3 <title>Welcome!</title>
4 </head>
5 <body>
6 <#-- Greet the user with his/her name -->
7 <h1>Welcome ${user <#-- The name of user -->}!</h1>
8 <p>We have these animals:
9 <ul>
10 <#list <#-- some comment... --> animals as <#-- again... --> animal>
11 <li>${animal.name} for ${animal.price} Euros
12 </#list>
13 </ul>
14 </body>
15 </html><html>
16 <head>
17 <title>Welcome!</title>
18 </head>
19 <body>
20 <#-- Greet the user with his/her name -->
21 <h1>Welcome ${user}!</h1>
22 <p>We have these animals:
23 <ul>
24 <#list animals as animal>
25 <li>${animal.name} for ${animal.price} Euros
26 </#list>
27 </ul>
28 </body>
29 </html>