Skip to content

Commit

Permalink
Fix regression in #262
Browse files Browse the repository at this point in the history
  • Loading branch information
dhcole committed Mar 25, 2013
1 parent a3a9990 commit 2d4a634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/model.js
Expand Up @@ -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);
Expand Down

0 comments on commit 2d4a634

Please sign in to comment.