diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/mercurial_hosting.html.luan	Thu Apr 07 19:54:29 2022 -0600
@@ -0,0 +1,29 @@
+local Luan = require "luan:Luan.luan"
+local error = Luan.error
+local Io = require "luan:Io.luan"
+local Http = require "luan:http/Http.luan"
+local Shared = require "site:/lib/Shared.luan"
+local head = Shared.head or error()
+local needed_header = Shared.needed_header or error()
+
+
+return function()
+	Io.stdout = Http.response.text_writer()
+%>
+<!doctype html>
+<html>
+	<head>
+<%		head() %>
+		<title>Reactionary Software - Mercurial Hosting</title>
+	<head>
+	<body>
+<%		needed_header() %>
+		<div content>
+			<h1>Mercurial Hosting</h1>
+
+			<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>
+		</div>
+	</body>
+</html>
+<%
+end