bump: 3.5.1

This commit is contained in:
qingwei.li 2017-03-25 16:26:07 +08:00
commit 7209b82982
4 changed files with 6 additions and 3 deletions

View file

@ -386,7 +386,7 @@ function toURL (path, params) {
route.query = merge({}, route.query, params);
path = route.path + stringifyQuery(route.query);
path = path.replace(/\.md/g, '');
path = path.replace(/\.md(\?)|\.md$/, '$1');
return cleanPath('#/' + path)
}