Mercurial Hosting > luan
comparison website/src/examples/hi.html.luan @ 1217:4c2972f4d862
.html in examples
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 20 Mar 2018 15:43:16 -0600 |
parents | website/src/examples/hi.luan@49cf706c326a |
children |
comparison
equal
deleted
inserted
replaced
1216:5dbb552075ff | 1217:4c2972f4d862 |
---|---|
1 local Io = require "luan:Io.luan" | |
2 local Http = require "luan:http/Http.luan" | |
3 | |
4 | |
5 return function() | |
6 Io.stdout = Http.response.text_writer() | |
7 %> | |
8 <!doctype html> | |
9 <html> | |
10 <body> | |
11 Hello World | |
12 </body> | |
13 </html> | |
14 <% | |
15 end |