Mercurial Hosting > reactionary
changeset 4:2cdaf431dc86
start freedit
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 08 Apr 2022 19:59:55 -0600 |
parents | a19e0f3a6203 |
children | ecc67abdde3f |
files | src/freedit.html.luan src/needed.html.luan |
diffstat | 2 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/freedit.html.luan Fri Apr 08 19:59:55 2022 -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 needed_header = Shared.needed_header or error() + + +return function() + Io.stdout = Http.response.text_writer() +%> +<!doctype html> +<html> + <head> +<% head() %> + <title>FreedIt - A Reddit Alternative</title> + <head> + <body> +<% needed_header() %> + <div content> + <h1>FreedIt - A Reddit Alternative</h1> + + <p>Coming soon...</p> + </div> + </body> +</html> +<% +end
--- a/src/needed.html.luan Fri Apr 08 15:24:18 2022 -0600 +++ b/src/needed.html.luan Fri Apr 08 19:59:55 2022 -0600 @@ -23,6 +23,7 @@ <ul links> <li><a href="/mercurial_hosting.html">Mercurial Hosting</a></li> <li><a href="/lucene.html">Lucene Fork</a></li> + <li><a href="/freedit.html">FreedIt - A Reddit Alternative</a></li> </ul> </div> </body>