Mercurial Hosting > chat
comparison src/index.html.luan @ 0:fddd11ae516c
start
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 23 Oct 2024 13:13:07 -0600 |
| parents | |
| children | ee1f91e67509 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:fddd11ae516c |
|---|---|
| 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>Reactionary Chat</title> | |
| 18 <style> | |
| 19 h1 { | |
| 20 margin-bottom: 0; | |
| 21 } | |
| 22 h3 { | |
| 23 margin-top: 8px; | |
| 24 } | |
| 25 </style> | |
| 26 </head> | |
| 27 <body> | |
| 28 <% header() %> | |
| 29 <div content> | |
| 30 <h1>Reactionary Chat</h1> | |
| 31 <h3>A free web-based instant messaging service by <a href="https://www.reactionary.software/">Reactionary Software</a></h3> | |
| 32 </div> | |
| 33 </body> | |
| 34 </html> | |
| 35 <% | |
| 36 end |
