diff website/src/diff.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 497d4ef0a89f
line wrap: on
line diff
--- a/website/src/diff.html.luan	Thu Apr 23 18:09:12 2015 -0600
+++ b/website/src/diff.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()
@@ -12,7 +13,7 @@
 		body = function() %>
 
 <div container>
-<div><small><a href="/">Luan</a></small></div>
+<% Shared.header() %>
 <h1>How Luan differs from Lua</h1>
 
 <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>