support multiple date

This commit is contained in:
2024-09-13 00:58:49 +02:00
parent 0f02669f5c
commit dfec19b341
2 changed files with 17 additions and 12 deletions

View File

@ -6,7 +6,9 @@
</head>
<body>
<h1>Ca42</h1>
<h1>{{date}}</h1>
{% for date in dates %}
<h1>{{date}}</h1>
{% endfor %}
<form action="/api/update" method="post">
<button name="foo" value="upvote">Upvote</button>
</form>