tvl-depot/templates/index.html
Vincent Ambo 3db069c60d feat(main): Add support for Tera templates
Sets up the structure required to carry Tera templates in the
actix-web state.

The (still very barebones) index renderer has been updated to render a
Tera template.
2018-04-08 17:30:03 +02:00

14 lines
283 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Converse Index page</title>
</head>
<body>
<h1>Welcome to Converse</h1>
<ul>
{% for thread in threads -%}
<li>{{ thread.title }} (posted at {{ thread.posted }})</li>
{%- endfor %}
</ul>
</body>
</html>