comparison website/src/support.html.luan @ 1783:aac0753d72ed

website minor
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Dec 2023 15:03:42 -0700
parents website/src/index.html.luan@7d2297155ee3
children 3b7a8f1cc887
comparison
equal deleted inserted replaced
1782:49236f5ecc32 1783:aac0753d72ed
1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error
3 local Io = require "luan:Io.luan"
4 local Http = require "luan:http/Http.luan"
5 local Shared = require "site:/lib/Shared.luan"
6 local head = Shared.head or error()
7 local header = Shared.header or error()
8
9
10 return function()
11 Io.stdout = Http.response.text_writer()
12 %>
13 <!doctype html>
14 <html>
15 <head>
16 <% head() %>
17 <title>Luan Support</title>
18 </head>
19 <body>
20 <% header() %>
21 <div content>
22 <h1>Luan Support</h1>
23
24 <ul links>
25 <li><a href="https://discord.gg/vEtFmsNyjm">Discord</a></li>
26 <li><a href="http://forum.luan.software/">Forum</a></li>
27 </ul>
28 </div>
29 </body>
30 </html>
31 <%
32 end