comparison src/private/tools/index.html.luan @ 3:eee6d4f59811

add tools
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 08 Jul 2025 16:02:29 -0600
parents
children
comparison
equal deleted inserted replaced
2:78708fa556a0 3:eee6d4f59811
1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error
3 local Io = require "luan:Io.luan"
4 local Http = require "luan:http/Http.luan"
5 local Shared = require "site:/lib/Shared.luan"
6 local head = Shared.head or error()
7
8
9 return function()
10 Io.stdout = Http.response.text_writer()
11 %>
12 <!doctype html>
13 <html lang="en">
14 <head>
15 <% head() %>
16 </head>
17 <body>
18 <div content>
19 <h1>Private Tools</h1>
20 <p><a href="lucene.html">lucene</a></p>
21 </div>
22 </body>
23 </html>
24 <%
25 end