changeset 1324:1660136ac451

website - remove Shared.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Feb 2019 22:38:46 -0700
parents 3860ed4b8552
children 28c1fc6d9d29
files website/src/Shared.luan website/src/diff.html.luan website/src/docs.html.luan website/src/manual.html.luan website/src/pil.html.luan website/src/tutorial.html.luan
diffstat 6 files changed, 9 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
diff -r 3860ed4b8552 -r 1660136ac451 website/src/Shared.luan
--- a/website/src/Shared.luan	Thu Feb 07 05:38:38 2019 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-local Shared = {}
-
-function Shared.header() %>
-	<div small><a href="/">Luan</a></div>
-<% end
-
-return Shared
diff -r 3860ed4b8552 -r 1660136ac451 website/src/diff.html.luan
--- a/website/src/diff.html.luan	Thu Feb 07 05:38:38 2019 -0700
+++ b/website/src/diff.html.luan	Thu Feb 07 22:38:46 2019 -0700
@@ -1,6 +1,5 @@
 local Io = require "luan:Io.luan"
 local Http = require "luan:http/Http.luan"
-local Shared = require "site:/Shared.luan"
 
 
 return function()
@@ -16,7 +15,8 @@
 </head>
 <body>
 
-<% Shared.header() %>
+<div small><a href="/">Luan</a></div>
+
 <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>
diff -r 3860ed4b8552 -r 1660136ac451 website/src/docs.html.luan
--- a/website/src/docs.html.luan	Thu Feb 07 05:38:38 2019 -0700
+++ b/website/src/docs.html.luan	Thu Feb 07 22:38:46 2019 -0700
@@ -1,6 +1,5 @@
 local Io = require "luan:Io.luan"
 local Http = require "luan:http/Http.luan"
-local Shared = require "site:/Shared.luan"
 
 
 return function()
@@ -15,7 +14,8 @@
 		</style>
 	</head>
 	<body>
-		<% Shared.header() %>
+		<div small><a href="/">Luan</a></div>
+
 		<h1>Luan Documentation</h1>
 
 		<div link><a href="tutorial.html">Tutorial</a></div>
diff -r 3860ed4b8552 -r 1660136ac451 website/src/manual.html.luan
--- a/website/src/manual.html.luan	Thu Feb 07 05:38:38 2019 -0700
+++ b/website/src/manual.html.luan	Thu Feb 07 22:38:46 2019 -0700
@@ -2,7 +2,6 @@
 local Io = require "luan:Io.luan"
 local Html = require "luan:Html.luan"
 local Http = require "luan:http/Http.luan"
-local Shared = require "site:/Shared.luan"
 
 
 return function()
@@ -18,7 +17,7 @@
 </head>
 <body>
 
-<% Shared.header() %>
+<div small><a href="/">Luan</a></div>
 
 <h1>Luan Reference Manual</h1>
 
diff -r 3860ed4b8552 -r 1660136ac451 website/src/pil.html.luan
--- a/website/src/pil.html.luan	Thu Feb 07 05:38:38 2019 -0700
+++ b/website/src/pil.html.luan	Thu Feb 07 22:38:46 2019 -0700
@@ -1,6 +1,5 @@
 local Io = require "luan:Io.luan"
 local Http = require "luan:http/Http.luan"
-local Shared = require "site:/Shared.luan"
 
 
 return function()
@@ -15,7 +14,8 @@
 		</style>
 	</head>
 	<body>
-		<% Shared.header() %>
+		<div small><a href="/">Luan</a></div>
+
 		<h1>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>
diff -r 3860ed4b8552 -r 1660136ac451 website/src/tutorial.html.luan
--- a/website/src/tutorial.html.luan	Thu Feb 07 05:38:38 2019 -0700
+++ b/website/src/tutorial.html.luan	Thu Feb 07 22:38:46 2019 -0700
@@ -1,7 +1,6 @@
 local Io = require "luan:Io.luan"
 local Html = require "luan:Html.luan"
 local Http = require "luan:http/Http.luan"
-local Shared = require "site:/Shared.luan"
 
 
 return function()
@@ -17,7 +16,8 @@
 </head>
 <body>
 
-<% Shared.header() %>
+<div small><a href="/">Luan</a></div>
+
 <h1>Luan Tutorial</h1>