comparison website/src/tutorial.html.luan @ 1324:1660136ac451

website - remove Shared.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Feb 2019 22:38:46 -0700
parents 3860ed4b8552
children
comparison
equal deleted inserted replaced
1323:3860ed4b8552 1324:1660136ac451
1 local Io = require "luan:Io.luan" 1 local Io = require "luan:Io.luan"
2 local Html = require "luan:Html.luan" 2 local Html = require "luan:Html.luan"
3 local Http = require "luan:http/Http.luan" 3 local Http = require "luan:http/Http.luan"
4 local Shared = require "site:/Shared.luan"
5 4
6 5
7 return function() 6 return function()
8 Io.stdout = Http.response.text_writer() 7 Io.stdout = Http.response.text_writer()
9 %> 8 %>
15 @import "/site.css"; 14 @import "/site.css";
16 </style> 15 </style>
17 </head> 16 </head>
18 <body> 17 <body>
19 18
20 <% Shared.header() %> 19 <div small><a href="/">Luan</a></div>
20
21 <h1>Luan Tutorial</h1> 21 <h1>Luan Tutorial</h1>
22 22
23 23
24 <p>Create a file <b>hello.luan</b> containing:</p> 24 <p>Create a file <b>hello.luan</b> containing:</p>
25 25