{% extends 'layout.html' %}

{% block content %}
<h1>Products</h1>
<ul>
    {% for product in products %}
        <li>
            {{ product.name }} - ${{ product.price }}
            <a href="#">Add to Cart</a>
        </li>
    {% endfor %}
</ul>
<a href="{{ url_for('cart_page') }}">View Cart</a>
{% endblock %}
