view src/freedit.html.luan @ 5:ecc67abdde3f

more on mercurial hosting
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 09 Apr 2022 16:31:35 -0600
parents 2cdaf431dc86
children 213ed97c36e9
line wrap: on
line source

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>FreedIt - A Reddit Alternative</title>
	<head>
	<body>
<%		needed_header() %>
		<div content>
			<h1>FreedIt - A Reddit Alternative</h1>

			<p>Coming soon...</p>
		</div>
	</body>
</html>
<%
end