# HG changeset patch # User Matthew Wild # Date 1247533573 -3600 # Node ID 36dd235e09d2d52334cf275e60443eef60a1bffc # Parent 58f3707e44d7db5272be8750ae052ade51fb0858 Fix typo in build.lua diff -r 58f3707e44d7 -r 36dd235e09d2 build.lua --- 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);