Interactive controls are not available in the static export.
{% extends 'base.html.twig' %}
{% block body %}
<nav>
{% for item in menu.items %}
<a href="{{ item.url }}">{{ item.label }}</a>
{% endfor %}
</nav>
<ul class="products">
{% for product in products %}
<li>{{ product.name }} - {{ product.price }}</li>
{% endfor %}
</ul>
{% endblock %}
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My website</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<nav>
<a href="/">Home</a>
<a href="/shop">Shop</a>
</nav>
<ul class="products">
<li>Product 1 - 19.99</li>
<li>Product 2 - 19.99</li>
<li>Product 3 - 19.99</li>
<li>Product 4 - 19.99</li>
</ul>
<p>This is a footer</p>
</body>
</html>
Home page
Lists the products of the catalog under the main navigation. The menu and products arguments come from the shared data of the storia/data folder.