Mercurial Hosting > luan
annotate website/src/Shared.luan @ 554:18504c41b0be
move debug() to Io and remove Debug module;
Io.print() now doesn't print newline if there is nothing to be printed;
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 18 Jun 2015 03:30:18 -0600 |
parents | 7bc63886d4f2 |
children | 7cc9d4a53d3b |
rev | line source |
---|---|
503 | 1 local M = {} |
387
23d075ce1e48
add website/src/Shared.luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
2 |
503 | 3 function M.header() %> |
387
23d075ce1e48
add website/src/Shared.luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
4 <div><small><a href="/">Luan</a></small></div> |
23d075ce1e48
add website/src/Shared.luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff
changeset
|
5 <% end |
503 | 6 |
505
7bc63886d4f2
web page modules now return a function
Franklin Schmidt <fschmidt@gmail.com>
parents:
503
diff
changeset
|
7 M.heading_options = [[margin-top="2em" margin-bottom=".6em" textcolor="#233E93"]] |
7bc63886d4f2
web page modules now return a function
Franklin Schmidt <fschmidt@gmail.com>
parents:
503
diff
changeset
|
8 |
503 | 9 return M |