Skip to content

Commit

Permalink
fix(tag): fix the rule of get allPages
Browse files Browse the repository at this point in the history
if the page path is contain '/photos',the page will can't in allPage array
  • Loading branch information
xcyeye committed Oct 15, 2021
1 parent 64a71cd commit a73c275
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/.vuepress/theme/lib/client/public/js/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ module.exports = {
continue
}


//判断是否为相册页面
if (myData.default[i].filePathRelative.search("photos/") !== -1) {
continue
}

const articleMap = {
articleUrl: '',
Expand Down

0 comments on commit a73c275

Please sign in to comment.