Skip to content
Browse files

Fix regression in #262

  • Loading branch information...
1 parent a3a9990 commit 2d4a63490657ab9d6f3c190acb5c6a7530425409 @dhcole dhcole committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 _includes/model.js
View
2 _includes/model.js
@@ -434,7 +434,7 @@ function loadPost(user, repo, branch, path, file, cb) {
writeable: writeable()
};
- var res = { raw_metadata: "", published: false };
+ var res = { raw_metadata: "", published: false, writeable: writeable() };
res.content = content.replace(/^(---\n)((.|\n)*?)\n---\n?/, function(match, dashes, frontmatter) {
res.raw_metadata = frontmatter;
res.published = published(frontmatter);

0 comments on commit 2d4a634

Please sign in to comment.
Something went wrong with that request. Please try again.