comparison website/src/pil.html.luan @ 1324:1660136ac451

website - remove Shared.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Feb 2019 22:38:46 -0700
parents 5dbb552075ff
children
comparison
equal deleted inserted replaced
1323:3860ed4b8552 1324:1660136ac451
1 local Io = require "luan:Io.luan" 1 local Io = require "luan:Io.luan"
2 local Http = require "luan:http/Http.luan" 2 local Http = require "luan:http/Http.luan"
3 local Shared = require "site:/Shared.luan"
4 3
5 4
6 return function() 5 return function()
7 Io.stdout = Http.response.text_writer() 6 Io.stdout = Http.response.text_writer()
8 %> 7 %>
13 <style> 12 <style>
14 @import "/site.css"; 13 @import "/site.css";
15 </style> 14 </style>
16 </head> 15 </head>
17 <body> 16 <body>
18 <% Shared.header() %> 17 <div small><a href="/">Luan</a></div>
18
19 <h1>Programming in Lua</h1> 19 <h1>Programming in Lua</h1>
20 20
21 <p>Even though <a href="http://www.lua.org/pil/">Programming in Lua</a> is about Lua, not Luan, it still serves as an excellent introduction to Luan since the languages are so close.</p> 21 <p>Even though <a href="http://www.lua.org/pil/">Programming in Lua</a> is about Lua, not Luan, it still serves as an excellent introduction to Luan since the languages are so close.</p>
22 </body> 22 </body>
23 </html> 23 </html>