mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
fix(v2): allow undefined favicon (#5054)
* fix(v2): allow undefined favicon * fix snapshots
This commit is contained in:
parent
05c85c7be7
commit
138b4c9975
7 changed files with 20 additions and 41 deletions
|
@ -99,7 +99,7 @@ export async function generateBlogFeed(
|
|||
language: feedOptions.language,
|
||||
link: blogBaseUrl,
|
||||
description: feedOptions.description || `${siteConfig.title} Blog`,
|
||||
favicon: normalizeUrl([siteUrl, baseUrl, favicon]),
|
||||
favicon: favicon ? normalizeUrl([siteUrl, baseUrl, favicon]) : undefined,
|
||||
copyright: feedOptions.copyright,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue