crabtml 0.1.9

A simple and flexible template engine written in Rust.
Documentation
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ title }}</title>
</head>

<body>
    <h1>{{ title }}</h1>
    <p>Price: ${{ price }}</p>
    <p>User: {{ user.name }} ({{ user.age }} years old)</p>
    {% if show_message %}
        <p>Welcome to our website!</p>
    {% else %}
        <p>Please log in to see the welcome message.</p>
    {% endif %}
    <h2>Available Items:</h2>
    <ul>
        {% for item in items %}
            <li>{{ item }}</li>
        {% endfor %}
    </ul>
    {% let x = 69 %}
    {% let y = "hello darkness my old friend" %}
    <p>X: {{ x }}, Y: {{ y }}</p>
    {% let x = 50 %}
    {% let y = 100 %}
    <p>X: {{ x }}, Y: {{ y }}</p>
    {% let z = x %}
    <p>Z: {{ z }}</p>
</body>

</html>