diff src/index.html.luan @ 0:9845dcb9f5fc

start
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 08 Jul 2025 10:40:25 -0600
parents
children 1c87f785eb42
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/index.html.luan	Tue Jul 08 10:40:25 2025 -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 header = Shared.header or error()
+
+
+return function()
+	Io.stdout = Http.response.text_writer()
+%>
+<!doctype html>
+<html lang="en">
+	<head>
+<%		head() %>
+		<title>Lang</title>
+		<style>
+		</style>
+	</head>
+	<body>
+<%		header() %>
+		<div content>
+			<h1>Lang</h1>
+		</div>
+	</body>
+</html>
+<%
+end