Skip to content

Commit

Permalink
Merge 16775f6 into b4423e4
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Nov 29, 2019
2 parents b4423e4 + 16775f6 commit 5818e4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

const { extname, join } = require('path');

const config = hexo.config.feed = Object.assign({
hexo.config.feed = Object.assign({
type: 'atom',
limit: 20,
hub: '',
Expand All @@ -15,6 +15,8 @@ const config = hexo.config.feed = Object.assign({
template: ''
}, hexo.config.feed);

const config = hexo.config.feed;

let type = config.type;
let path = config.path;
let template = config.template;
Expand Down

0 comments on commit 5818e4b

Please sign in to comment.