Skip to content

Commit

Permalink
fix(config): enable option (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryc127 authored Jun 23, 2022
1 parent 0fc2014 commit 2941e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

'use strict';

if (!(hexo.config.archive && hexo.config.archive.enabled === false)) {
if (!(hexo.config.archive_generator && hexo.config.archive_generator.enabled === false)) {
// when archive disabled pagination, per_page should be 0.
let per_page;

Expand Down

0 comments on commit 2941e8a

Please sign in to comment.