salix/examples/readme
2024-06-06 18:52:14 -07:00
..
main.go Switch to MPL-2.0 to allow static linking 2023-12-18 09:16:33 -08:00
readme.salix.html Improve ternary expression parsing definition 2024-06-06 18:52:14 -07:00

<html>

<head>
    <title>#(page.Title)</title>
</head>

<body>
    #for(i, user in users):
    <div>
        <h2>#(toLower(user.Name))</h2>
        <p>User ID: #(i)</p>
        #if(user.LoggedIn): <p>This user is logged in</p> #!if
        #if(user.IsAdmin): <p>This user is an admin!</p> #!if
        <p>Registered: #(user.RegisteredTime.Format("01-02-2006"))</p>
    </div>
    #!for
</body>

</html>