salix/examples/readme
2024-02-07 18:11:24 -08:00
..
main.go Switch to MPL-2.0 to allow static linking 2023-12-18 09:16:33 -08:00
readme.salix.html Add the ability to ignore errors in ExprTags 2024-02-07 18:11:24 -08: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>