feat: implement basic server
This demo can: - Serve a webpage - Serve static assets - Asynchronously fetch html
This commit is contained in:
0
templates/fragment/.gitkeep
Normal file
0
templates/fragment/.gitkeep
Normal file
8
templates/fragment/table.html
Normal file
8
templates/fragment/table.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<thead>
|
||||
<tr><th>foo</th><th>bar</th><th>baz</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for row in table %}
|
||||
<tr><td>{{ row.foo }}</td><td>{{ row.bar }}</td><td>{{ row.baz }}</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
Reference in New Issue
Block a user