Mercurial Hosting > lang
view src/tools/hello_luan.html.luan @ 18:820136c5ee33
add new_chat.red
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 30 Jul 2025 15:11:24 -0600 |
parents | b0b325565d30 |
children |
line wrap: on
line source
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() local header = Shared.header or error() return function() Io.stdout = Http.response.text_writer() %> <!doctype html> <html lang="en"> <head> <% head() %> </head> <body> <% header() %> <div content> <p>Hello Luan</p> </div> </body> </html> <% end