build.lua

changeset 11
36dd235e09d2
parent 8
6dc28a66f4d9
child 12
4c759312950b
--- 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