Skip to content

Commit

Permalink
i18n: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ntzyz committed Mar 4, 2019
1 parent a5ffa57 commit 11d7f1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ function render (posts, options) {
};
}).sort((a, b) => b.priority - a.priority);

console.log(langs);

// 移除最匹配的语言
langs.shift();

Expand Down

0 comments on commit 11d7f1e

Please sign in to comment.