comparison website/src/diff.html.luan @ 1652:d5779a264a4a

docs work
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 31 Mar 2022 19:04:59 -0600
parents 5b8f056527a3
children 418b610e887b
comparison
equal deleted inserted replaced
1651:5b8f056527a3 1652:d5779a264a4a
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 docs_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 %>
15 <head> 15 <head>
16 <% head() %> 16 <% head() %>
17 <title>How Luan differs from Lua</title> 17 <title>How Luan differs from Lua</title>
18 </head> 18 </head>
19 <body> 19 <body>
20 <% header{[[<a href="docs.html">Documentation</a>]]} %> 20 <% docs_header() %>
21 <div content> 21 <div content>
22 22
23 <h1><a href="diff.html">How Luan differs from Lua</a></h1> 23 <h1><a href="diff.html">How Luan differs from Lua</a></h1>
24 24
25 <p>This document explains how Luan differs from <a href="http://www.lua.org">Lua</a> as described in the <a href="http://www.lua.org/manual/5.3/">Lua 5.3 Reference Manual</a>.</p> 25 <p>This document explains how Luan differs from <a href="http://www.lua.org">Lua</a> as described in the <a href="http://www.lua.org/manual/5.3/">Lua 5.3 Reference Manual</a>.</p>