sailfish/examples/templates/simple.stpl

13 lines
249 B
Plaintext
Raw Normal View History

2020-06-04 16:39:33 -04:00
<!DOCTYPE html>
<html>
<body>
2024-03-11 22:42:08 -04:00
<%# This is a comment #%>
2020-06-04 16:39:33 -04:00
<% for (i, msg) in messages.iter().enumerate() { %>
<% if i == 0 { %>
<h1>Hello, world!</h1>
<% } %>
<div><%\html msg %></div>
2020-06-04 16:39:33 -04:00
<% } %>
</body>
</html>