Permalink
Browse files

fix template

  • Loading branch information...
1 parent ec0b72f commit f352c6c416d202757e140fe8454454013c521288 @lepture lepture committed Apr 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 theme.js
View
@@ -29,7 +29,7 @@ exports.reader = function(post) {
if (filename === 'history.md') {
post.template = post.meta.template = 'history';
} else {
- post.template = post.meta.template = 'post';
+ post.template = post.meta.template = (post.meta.template || 'post');
}
if (filename === 'readme.md') {
post.filename = post.meta.filename = 'index';

0 comments on commit f352c6c

Please sign in to comment.