Tue, 14 Jul 2009 02:06:13 +0100
Fix typo in build.lua
build.lua | file | annotate | diff | comparison | revisions |
--- a/build.lua Sat Jul 11 03:37:48 2009 +0100 +++ b/build.lua Tue Jul 14 02:06:13 2009 +0100 @@ -51,7 +51,7 @@ -- Parse post_data according to extension, add to post list --msg_info("Parsing %s...", post_filename) --:gsub("%.[^%.]+$", ""):match("[^/]+")); post.content = templates.load(parsers[post_format](post_data)):render{ page = post }; - post.shorttile = make_short_title(post.title); + post.shorttitle = make_short_title(post.title); post.url = base_url..post.shorttitle.."/" post.post = post post.updated = post.updated or os.date("!%Y-%m-%dT%H:%M:%SZ", lfs.attributes(post.path).modification);