Skip to content

Commit e1243d9

Browse files
committed
fix generated html 404
1 parent 0fce16c commit e1243d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/markdown.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<script>
5454
var base = location.protocol + '//' + location.host;
5555
<%if (hasOwnProperty('generate') && generate) { %>
56-
var path = location.pathname.split('/').filter(function(v){
56+
var path = (location.pathname + '#').split('/').filter(function(v){
5757
return !!v;
5858
});
5959
path.pop();

0 commit comments

Comments
 (0)