Mercurial Hosting > reactionary
view src/this.html.luan @ 113:b02a73caed84 default tip
minor
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 26 Nov 2025 09:55:43 -0700 |
| parents | 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() local luan_url = Shared.luan_url or error() return function() Io.stdout = text_writer() %> <!doctype html> <html lang="<%=get_lang()%>"> <head> <% head() %> <title>Reactionary Software - This Website</title> </head> <body> <% existing_header() %> <div content> <h1>This Website</h1> <p>This website is a tiny example of reactionary software. The UI is clean and simple, not fashionable. View the HTML source in the browser. Unlike all modern websites, the HTML here is readable. Now look at <a href="https://hg.reactionary.software/repo/reactionary">the source</a> which is in <a href="mercurial.html">Mercurial</a>. And the code is written in <a href="<%=luan_url()%>/">Luan</a> which makes it simple.</p> </div> </body> </html> <% end
