comparison src/lib/Shared.luan @ 0:c604a58600be

start
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Apr 2022 16:06:10 -0600
parents
children da780d885325
comparison
equal deleted inserted replaced
-1:000000000000 0:c604a58600be
1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error
3
4
5 local Shared = {}
6
7 function Shared.head()
8 %>
9 <meta name="viewport" content="width=device-width, initial-scale=1">
10 <style>
11 @import "/site.css";
12 </style>
13 <%
14 end
15
16 function Shared.header()
17 %>
18 <div header>
19 <a href="/">Reactionary Software</a>
20 </div>
21 <%
22 end
23
24 return Shared