Mercurial Hosting > luan
annotate website/src/support.html.luan @ 1791:f8f5c51f5b36
xml work
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 26 Dec 2023 19:16:18 -0700 |
parents | aac0753d72ed |
children | 3b7a8f1cc887 |
rev | line source |
---|---|
1651 | 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 %> | |
1216 | 13 <!doctype html> |
391
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
14 <html> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
15 <head> |
1651 | 16 <% head() %> |
1783 | 17 <title>Luan Support</title> |
391
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
18 </head> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
19 <body> |
1651 | 20 <% header() %> |
21 <div content> | |
1783 | 22 <h1>Luan Support</h1> |
1323
3860ed4b8552
simplify website css
Franklin Schmidt <fschmidt@gmail.com>
parents:
1310
diff
changeset
|
23 |
1654 | 24 <ul links> |
1783 | 25 <li><a href="https://discord.gg/vEtFmsNyjm">Discord</a></li> |
26 <li><a href="http://forum.luan.software/">Forum</a></li> | |
1654 | 27 </ul> |
1579 | 28 </div> |
391
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
29 </body> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
386
diff
changeset
|
30 </html> |
1651 | 31 <% |
32 end |