view website/src/support.html.luan @ 1789:bac27b119ff2

exit code 1 on exception
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 24 Dec 2023 16:52:35 -0700
parents aac0753d72ed
children 3b7a8f1cc887
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 header = Shared.header or error()


return function()
	Io.stdout = Http.response.text_writer()
%>
<!doctype html>
<html>
	<head>
<%		head() %>
		<title>Luan Support</title>
	</head>
	<body>
<%		header() %>
		<div content>
			<h1>Luan Support</h1>

			<ul links>
				<li><a href="https://discord.gg/vEtFmsNyjm">Discord</a></li>
				<li><a href="http://forum.luan.software/">Forum</a></li>
			</ul>
		</div>
	</body>
</html>
<%
end