annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 local Luan = require "luan:Luan.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local error = Luan.error
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 local Shared = {}
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 function Shared.head()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 <meta name="viewport" content="width=device-width, initial-scale=1">
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 <style>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 @import "/site.css";
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 </style>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 <%
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 end
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 function Shared.header()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 <div header>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 <a href="/">Reactionary Software</a>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 </div>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 <%
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 end
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 return Shared