Peradventure/views/index.etlua

15 lines
268 B
Plaintext

<!-- views/index.etlua -->
<script src="/static/htmx.min.js"></script>
<button hx-post="/clickme" hx-target="#clickable">Start</button>
<p id="clickable"></p>
<ol>
<!--
<p><% for i, thing in pairs(text) do %>
<li><%= thing %></li>
<% end %>
</p>
</ol>
-->