mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
[ci] format
This commit is contained in:
parent
841df1f1b1
commit
b743dddf3b
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ async function generateRSS(rssOptions: ValidatedRSSOptions): Promise<string> {
|
||||||
// If the item's link is already a valid URL, don't mess with it.
|
// If the item's link is already a valid URL, don't mess with it.
|
||||||
const itemLink = isValidURL(result.link)
|
const itemLink = isValidURL(result.link)
|
||||||
? result.link
|
? result.link
|
||||||
: createCanonicalURL(result.link, rssOptions.trailingSlash, site);
|
: createCanonicalURL(result.link, rssOptions.trailingSlash, site);
|
||||||
item.link = itemLink;
|
item.link = itemLink;
|
||||||
item.guid = { '#text': itemLink, '@_isPermaLink': 'true' };
|
item.guid = { '#text': itemLink, '@_isPermaLink': 'true' };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue