view src/index.html.luan @ 6:d59ae3e468f1

login work
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 23 Oct 2023 21:09:05 -0600
parents 43814e9f5802
children 62dd23f0b549
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()
local footer = Shared.footer or error()
local Config = require "site:/lib/Config.luan"


return function()
	Io.stdout = Http.response.text_writer()
%>
<!doctype html>
<html>
	<head>
<%		head() %>
		<title>Disearch</title>
	</head>
	<body>
<%		header() %>
		<p>under construction</p>
<%		footer() %>
	</body>
</html>
<%
end