Closed uiolee closed 2 months ago
https://github.com/hexojs/hexo-generator-index/blob/f8ef61c1c8d2006d132d536657f0dee1b38d632a/README.md?plain=1#L21-L27
according to README, pagination_dir can be set by index_generator.pagination_dir. But from the code, index_generator.pagination_dir is invalid.
pagination_dir
index_generator.pagination_dir
https://github.com/hexojs/hexo-generator-index/blob/f8ef61c1c8d2006d132d536657f0dee1b38d632a/lib/generator.js#L11
Code and documentation should match, avoid misleading users.
No response
Check List
Describe the bug
https://github.com/hexojs/hexo-generator-index/blob/f8ef61c1c8d2006d132d536657f0dee1b38d632a/README.md?plain=1#L21-L27
according to README,
pagination_dir
can be set byindex_generator.pagination_dir
. But from the code,index_generator.pagination_dir
is invalid.https://github.com/hexojs/hexo-generator-index/blob/f8ef61c1c8d2006d132d536657f0dee1b38d632a/lib/generator.js#L11
Expected behavior
Code and documentation should match, avoid misleading users.
How to reproduce
Screenshots
No response
Environment information
No response
Additional context
No response