view src/editor.html.luan @ 96:b63be95953ac default tip

add editor
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 23 May 2025 14:22:53 -0600
parents src/nginx.html.luan@83d98c822c71
children
line wrap: on
line source

local Luan = require "luan:Luan.luan"
local error = Luan.error
local Io = require "luan:Io.luan"
local Site_translator = require "luan:ai/Site_translator.luan"
local get_lang = Site_translator.get_lang or error()
local text_writer = Site_translator.text_writer or error()
local Shared = require "site:/lib/Shared.luan"
local head = Shared.head or error()
local existing_header = Shared.existing_header or error()


return function()
	Io.stdout = text_writer()
%>
<!doctype html>
<html lang="<%=get_lang()%>">
	<head>
<%		head() %>
		<title>Reactionary Software - Nginx</title>
	</head>
	<body>
<%		existing_header() %>
		<div content>
			<h1>Luan Editor</h1>

			<p>Is another text editor needed?  <a href="https://www.sublimetext.com/">Sublime Text</a> isn't bad.  And to be honest, the main reason that I wrote Luan Editor was to learn Java Swing.  But now that it is finished, I rather like it.  You can get <a href="https://hg.reactionary.software/repo/editor/">the source</a>.  I would like to implement an installer for Luan Editor.</p>
		</div>
	</body>
</html>
<%
end