diff website/src/lib/Shared.luan @ 1652:d5779a264a4a

docs work
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 31 Mar 2022 19:04:59 -0600
parents 5b8f056527a3
children 418b610e887b
line wrap: on
line diff
--- a/website/src/lib/Shared.luan	Thu Mar 31 16:13:32 2022 -0600
+++ b/website/src/lib/Shared.luan	Thu Mar 31 19:04:59 2022 -0600
@@ -14,7 +14,7 @@
 <%
 end
 
-function Shared.header(crumbs)
+local function header(crumbs)
 %>
 		<div header>
 			<a href="/">Luan</a>
@@ -24,5 +24,10 @@
 		</div>
 <%
 end
+Shared.header = header
+
+function Shared.docs_header()
+	header{[[<a href="/docs.html">Documentation</a>]]}
+end
 
 return Shared