Fix typo in build.lua

Tue, 14 Jul 2009 02:06:13 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 14 Jul 2009 02:06:13 +0100
changeset 11
36dd235e09d2
parent 10
58f3707e44d7
child 12
4c759312950b

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);

mercurial