22 lines
536 B
HTML
22 lines
536 B
HTML
<h2>Full example</h2>
|
|
<pre><code><html>
|
|
<head>
|
|
<title>Welcome!</title>
|
|
</head>
|
|
<body>
|
|
<h1>
|
|
Welcome ${user}<#if user == "Big Joe">, our beloved leader</#if>!
|
|
</h1>
|
|
<p>Our latest product:
|
|
<a href="${latestProduct.url}">${latestProduct.name}</a>!
|
|
<p>See what our happy customers have to say!</p>
|
|
<ul>
|
|
<#list userStories as story>
|
|
<li>
|
|
<p>${story.text?esc} - by <span>${story.user.name}</span>
|
|
<li>
|
|
</#list>
|
|
</ul>
|
|
</body>
|
|
</html></code></pre>
|