Mercurial Hosting > luan
diff website/src/pil.html.luan @ 387:23d075ce1e48
add website/src/Shared.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 23 Apr 2015 18:16:15 -0600 |
parents | db23f654f87d |
children | 2f5cc9c2cbf0 |
line wrap: on
line diff
--- a/website/src/pil.html.luan Thu Apr 23 18:09:12 2015 -0600 +++ b/website/src/pil.html.luan Thu Apr 23 18:16:15 2015 -0600 @@ -1,6 +1,7 @@ local Io = require "luan:Io" local Html = require "luan:Html" local Http = require "luan:web/Http" +local Shared = require "site:/Shared" function service() @@ -11,7 +12,7 @@ <% end; body = function() %> <div container> - <div><small><a href="/">Luan</a></small></div> + <% Shared.header() %> <h1 margin-bottom="1em">Programming in Lua</h1> <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>