Skip to content

Commit ad3e32a

Browse files
committed
Order takes the timestamp
1 parent cc9e243 commit ad3e32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/plugins/order.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function plugin() {
1212
const res = path.basename(file).match(/^((\d+)-)+/);
1313
if (res) {
1414
const data = files[file];
15-
data.order = res[1];
15+
data.order = res[0].replace(/-/g, '');
1616

1717
data.slug = data.slug.replace(res[0], '');
1818

0 commit comments

Comments
 (0)