comparison src/index.html.luan @ 0:c604a58600be

start
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Apr 2022 16:06:10 -0600
parents
children da780d885325
comparison
equal deleted inserted replaced
-1:000000000000 0:c604a58600be
1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error
3 local Io = require "luan:Io.luan"
4 local Http = require "luan:http/Http.luan"
5 local Shared = require "site:/lib/Shared.luan"
6 local head = Shared.head or error()
7 local header = Shared.header or error()
8
9
10 return function()
11 Io.stdout = Http.response.text_writer()
12 %>
13 <!doctype html>
14 <html>
15 <head>
16 <% head() %>
17 <title>Reactionary Software</title>
18 <style>
19 h1 {
20 margin-bottom: 0;
21 }
22 h3 {
23 margin-top: 8px;
24 }
25 </style>
26 <head>
27 <body>
28 <% header() %>
29 <div content>
30 <h1>Reactionary Software</h1>
31 <h3>Make software great again!</h3>
32 <p>For programmers who hate modern software. Modern software is overcomplicated, bloated, unreliable, incomprehensible, pointlessly ideological, and mostly unusable. We like the values of older software: simplicity, reliability, and usability.</p>
33 <ul links>
34 <li><a href="/discussion.html">Discussion</a></li>
35 </ul>
36 </div>
37 </body>
38 </html>
39 <%
40 end