3db069c60d
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.
14 lines
283 B
HTML
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>
|