Mercurial Hosting > luan
comparison website/src/install.html.luan @ 1927:1461449b6074 default tip
add learn.html
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 23 Apr 2025 20:06:58 -0600 |
parents | 8c637b047a42 |
children |
comparison
equal
deleted
inserted
replaced
1926:4206242c7a13 | 1927:1461449b6074 |
---|---|
2 local error = Luan.error | 2 local error = Luan.error |
3 local Io = require "luan:Io.luan" | 3 local Io = require "luan:Io.luan" |
4 local Http = require "luan:http/Http.luan" | 4 local Http = require "luan:http/Http.luan" |
5 local Shared = require "site:/lib/Shared.luan" | 5 local Shared = require "site:/lib/Shared.luan" |
6 local head = Shared.head or error() | 6 local head = Shared.head or error() |
7 local header = Shared.header or error() | 7 local header = Shared.docs_header or error() |
8 | 8 |
9 | 9 |
10 return function() | 10 return function() |
11 Io.stdout = Http.response.text_writer() | 11 Io.stdout = Http.response.text_writer() |
12 %> | 12 %> |