Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'pagination_dir' of undefined #2

Open
SnailDove opened this issue Dec 14, 2020 · 2 comments
Open

TypeError: Cannot read property 'pagination_dir' of undefined #2

SnailDove opened this issue Dec 14, 2020 · 2 comments

Comments

@SnailDove
Copy link

反馈一下问题:版本号也在下面了
TypeError: Cannot read property 'pagination_dir' of undefined
at Hexo.module.exports (/Users/brt/Documents/gitblog/snaildove.github.io/node_modules/_hexo-generator-index-plus@1.0.0@hexo-generator-index-plus/lib/generator.js:9:51)

@SnailDove
Copy link
Author

SnailDove commented Dec 14, 2020

已经解决 您在npm官网设置提示有误,但是github提示正确,可以了
这是您在npm官网写的:

index_generator:
  path: ''
  per_page: 10

然而在本仓库底下你又是这样介绍的:

index_generator_plus:
  path: ''
  per_page: 10

@tomyu168
Copy link

已经解决 您在npm官网设置提示有误,但是github提示正确,可以了 这是您在npm官网写的:

index_generator:
  path: ''
  per_page: 10

然而在本仓库底下你又是这样介绍的:

index_generator_plus:
  path: ''
  per_page: 10

我一开始也碰到这个问题,config改好了,没有问题了。问题是这个插件似乎没用,在front-matter里面修改updateDate或者top,并没有作用。hexo g显示对这两个参数的添加修改文件本身没有变化,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants