Mercurial Hosting > luan
annotate website/src/docs.html.luan @ 1929:31f006c64782
translation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 01 May 2025 18:31:05 -0600 |
parents | 1461449b6074 |
children |
rev | line source |
---|---|
1651 | 1 local Luan = require "luan:Luan.luan" |
2 local error = Luan.error | |
3 local Io = require "luan:Io.luan" | |
1929 | 4 local Site_translator = require "luan:gpt/Site_translator.luan" |
5 local get_lang = Site_translator.get_lang or error() | |
6 local text_writer = Site_translator.text_writer or error() | |
1651 | 7 local Shared = require "site:/lib/Shared.luan" |
8 local head = Shared.head or error() | |
1652 | 9 local docs_header = Shared.docs_header or error() |
1651 | 10 |
11 | |
12 return function() | |
1929 | 13 Io.stdout = text_writer() |
1651 | 14 %> |
1216 | 15 <!doctype html> |
1929 | 16 <html lang="<%=get_lang()%>"> |
391
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
387
diff
changeset
|
17 <head> |
1651 | 18 <% head() %> |
391
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
387
diff
changeset
|
19 <title>Luan Documentation</title> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
387
diff
changeset
|
20 </head> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
387
diff
changeset
|
21 <body> |
1652 | 22 <% docs_header() %> |
1651 | 23 <div content> |
24 <h1>Luan Documentation</h1> | |
1324
1660136ac451
website - remove Shared.luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
1323
diff
changeset
|
25 |
1654 | 26 <ul links> |
1927 | 27 <li><a href="install.html">Installation</a></li> |
28 <li><a href="learn.html">Learning Luan</a></li> | |
1654 | 29 <li><a href="tutorial.html">Tutorial</a></li> |
30 <li><a href="pil.html">Programming in Lua (book)</a></li> | |
31 <li><a href="manual.html">Reference Manual</a></li> | |
32 <li><a href="diff.html">How Luan differs from Lua</a></li> | |
1735 | 33 <li><a href="hosting.html">Web Hosting</a></li> |
1654 | 34 </ul> |
1651 | 35 </div> |
391
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
387
diff
changeset
|
36 </body> |
2f5cc9c2cbf0
replace Html.simply_html_page with simply_html_head and simply_html_body_bottom
Franklin Schmidt <fschmidt@gmail.com>
parents:
387
diff
changeset
|
37 </html> |
1651 | 38 <% |
39 end |