Mercurial Hosting > reactionary
diff src/needed.html.luan @ 1:da780d885325
more
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 07 Apr 2022 19:54:29 -0600 |
parents | |
children | a19e0f3a6203 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/needed.html.luan Thu Apr 07 19:54:29 2022 -0600 @@ -0,0 +1,30 @@ +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>Needed Reactionary Software</title> + <head> + <body> +<% needed_header() %> + <div content> + <h1>Needed Reactionary Software</h1> + <ul links> + <li><a href="/mercurial_hosting.html">Mercurial Hosting</a></li> + </ul> + </div> + </body> +</html> +<% +end