diff options
Diffstat (limited to 'generate-index.lua')
-rwxr-xr-x | generate-index.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generate-index.lua b/generate-index.lua index 6022c31..0b94821 100755 --- a/generate-index.lua +++ b/generate-index.lua @@ -54,7 +54,7 @@ for _, filename in pairs(pages) do end end table.sort(posts, function (lhs, rhs) return lhs.published > rhs.published end) -print("<table>") +print[[<table class="index">]] local year = nil for _, page in pairs(posts) do local date = parse(page.published) @@ -64,4 +64,4 @@ for _, page in pairs(posts) do end print(string.format([[<tr><td>%s<td class="sep">•<td><a href="%s">%s</a>]], describe(date), page.filename, page.title)) end -print("</table>") +print"</table>" |