Skip to content

Commit

Permalink
fix sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Apr 28, 2023
1 parent 0efdd67 commit 9c3d0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function (userOptions?: Partial<Options>) {

// Search for the `robots.txt` file
const robots = site.files.some((file: StaticFile) =>
file.dest === "/robots.txt"
file.outputPath === "/robots.txt"
);

// If the `robots.txt` file doesn't exist, create it
Expand Down

0 comments on commit 9c3d0bc

Please sign in to comment.