annotate src/mercurial_hosting.html.luan @ 14:44025d01ad7e

add bash
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 20 Apr 2022 08:20:58 -0600
parents ecc67abdde3f
children 9694eff797bf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
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 local Io = require "luan:Io.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 local Http = require "luan:http/Http.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 local Shared = require "site:/lib/Shared.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 local head = Shared.head or error()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 local needed_header = Shared.needed_header or error()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 return function()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 Io.stdout = Http.response.text_writer()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 <!doctype html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 <html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 <head>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 <% head() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 <title>Reactionary Software - Mercurial Hosting</title>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 <head>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 <body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 <% needed_header() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 <div content>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 <h1>Mercurial Hosting</h1>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
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>
5
ecc67abdde3f more on mercurial hosting
Franklin Schmidt <fschmidt@gmail.com>
parents: 1
diff changeset
25
ecc67abdde3f more on mercurial hosting
Franklin Schmidt <fschmidt@gmail.com>
parents: 1
diff changeset
26 <p>While this is a relatively small project, it is incredibly important for reactionary software. As I explained in <a href="/mercurial.html">my post on Mercurial</a>, programmers who use Mercurial are likely to have good reactionary programming values, so a good Mercurial hosting service would be the best imaginable way to attract good programmers to the Reactionary Software cause.</p>
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
27 </div>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
28 </body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29 </html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
30 <%
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
31 end