Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix template

  • Loading branch information...
commit f352c6c416d202757e140fe8454454013c521288 1 parent ec0b72f
@lepture lepture authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  theme.js
View
2  theme.js
@@ -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';
Please sign in to comment.
Something went wrong with that request. Please try again.