Mercurial Hosting > lang
comparison src/index.html.luan @ 0:9845dcb9f5fc
start
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Tue, 08 Jul 2025 10:40:25 -0600 |
| parents | |
| children | 1c87f785eb42 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:9845dcb9f5fc |
|---|---|
| 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 local header = Shared.header or error() | |
| 8 | |
| 9 | |
| 10 return function() | |
| 11 Io.stdout = Http.response.text_writer() | |
| 12 %> | |
| 13 <!doctype html> | |
| 14 <html lang="en"> | |
| 15 <head> | |
| 16 <% head() %> | |
| 17 <title>Lang</title> | |
| 18 <style> | |
| 19 </style> | |
| 20 </head> | |
| 21 <body> | |
| 22 <% header() %> | |
| 23 <div content> | |
| 24 <h1>Lang</h1> | |
| 25 </div> | |
| 26 </body> | |
| 27 </html> | |
| 28 <% | |
| 29 end |
