Mercurial Hosting > lang
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/private/tools/index.html.luan Tue Jul 08 16:02:29 2025 -0600 @@ -0,0 +1,25 @@ +local Luan = require "luan:Luan.luan" +local error = Luan.error +local Io = require "luan:Io.luan" +local Http = require "luan:http/Http.luan" +local Shared = require "site:/lib/Shared.luan" +local head = Shared.head or error() + + +return function() + Io.stdout = Http.response.text_writer() +%> +<!doctype html> +<html lang="en"> + <head> +<% head() %> + </head> + <body> + <div content> + <h1>Private Tools</h1> + <p><a href="lucene.html">lucene</a></p> + </div> + </body> +</html> +<% +end