Skip to content

Commit

Permalink
Index.html must not generate canonicalUrl metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
javamind committed Dec 26, 2022
1 parent dc8972a commit de4034b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/convert-to-blog-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function extConvertToBlogList(options: Options,
description: () => pages[filename].description,
gendate: () => currentDate(),
genInstant: () => currentDateIso(),
canonicalUrl: () => filename,
canonicalUrl: () => (filename === 'index.html') ? null : filename,
firstArticle: undefined,
secondArticles: undefined,
otherArticles: undefined,
Expand Down

0 comments on commit de4034b

Please sign in to comment.