comparison src/mercurial_hosting.html.luan @ 1:da780d885325

more
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Apr 2022 19:54:29 -0600
parents
children ecc67abdde3f
comparison
equal deleted inserted replaced
0:c604a58600be 1:da780d885325
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 needed_header = Shared.needed_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 Software - Mercurial Hosting</title>
18 <head>
19 <body>
20 <% needed_header() %>
21 <div content>
22 <h1>Mercurial Hosting</h1>
23
24 <p>Last I checked, there are no good <a href="/mercurial.html">Mercurial</a> hosting solutions available. So I use my own hack, for example for <a href="https://hg.luan.software/reactionary">this site</a>. But a good solution is needed. If you know of any good solutions, please let me know in a <a href="/discussion.html">discussion</a>. If there aren't any good solutions, then it would worthwhile to develop one.</p>
25 </div>
26 </body>
27 </html>
28 <%
29 end