Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix: feed doesn't work fine when useing non-default directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
billyyyyy3320 committed Jan 18, 2020
1 parent 1ec709c commit 0098baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/handleOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export function handleOptions(
posts_directories: [] as string[],
};
directories.forEach(dir => {
defaultFeedOptions.posts_directories.push(dir.dirname);
defaultFeedOptions.posts_directories.push(`/${dir.dirname}/`);
});

services.feed = { rss: true, atom: true, json: true };
Expand Down

0 comments on commit 0098baf

Please sign in to comment.