Mercurial Hosting > luan
comparison website/src/tutorial.html.luan @ 1216:5dbb552075ff
doctype
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 20 Mar 2018 15:27:08 -0600 |
parents | 48506d03e230 |
children | 4c2972f4d862 |
comparison
equal
deleted
inserted
replaced
1215:d2da8bfa2013 | 1216:5dbb552075ff |
---|---|
5 | 5 |
6 | 6 |
7 return function() | 7 return function() |
8 Io.stdout = Http.response.text_writer() | 8 Io.stdout = Http.response.text_writer() |
9 %> | 9 %> |
10 <!doctype html> | |
10 <html> | 11 <html> |
11 <head> | 12 <head> |
12 <title>Luan Tutorial</title> | 13 <title>Luan Tutorial</title> |
13 <style> | 14 <style> |
14 @import "/site.css"; | 15 @import "/site.css"; |
77 local Http = require "luan:http/Http.luan" | 78 local Http = require "luan:http/Http.luan" |
78 | 79 |
79 return function() | 80 return function() |
80 Io.stdout = Http.response.text_writer() | 81 Io.stdout = Http.response.text_writer() |
81 %> | 82 %> |
83 <!doctype html> | |
82 <html> | 84 <html> |
83 <body> | 85 <body> |
84 Hello World | 86 Hello World |
85 </body> | 87 </body> |
86 </html> | 88 </html> |