Skip to content

Commit e7f3717

Browse files
committed
chore(docs): feed title
Signed-off-by: Cory Rylan <crylan@nvidia.com>
1 parent 9c6f1b2 commit e7f3717

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎projects/site/src/_11ty/layouts/common.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const renderBaseHead = data => {
3232
<meta name="author" content="${escapeAttr(AUTHOR_NAME)}">
3333
<link rel="canonical" href="${meta.canonicalUrl}">
3434
<link rel="alternate" type="text/plain" title="llms.txt" href="${DEPLOYED_SITE_URL}/llms.txt">
35-
${UPDATE_FEEDS.map(({ label, outputPath, type })=>`<link rel="alternate" type="application/${type}+xml" title="NVIDIA Elements updates (${label})" href="${getSiteUrl(outputPath)}">`).join('\n ')}
35+
${UPDATE_FEEDS.map(({ label, outputPath, type })=>`<link rel="alternate" type="application/${type}+xml" title="NVIDIA Elements Updates (${label})" href="${getSiteUrl(outputPath)}">`).join('\n ')}
3636
<link href="https://github.com/NVIDIA/elements" rel="me">
3737
<meta property="og:title" content="${escapeAttr(meta.title)}">
3838
<meta property="og:url" content="${meta.canonicalUrl}">

‎projects/site/src/_11ty/layouts/metadata.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,10 @@ describe('renderBaseHead', () => {
397397
});
398398

399399
expect(html).toContain(
400-
'<link rel="alternate" type="application/rss+xml" title="NVIDIA Elements updates (RSS)" href="https://nvidia.github.io/elements/feed.xml">'
400+
'<link rel="alternate" type="application/rss+xml" title="NVIDIA Elements Updates (RSS)" href="https://nvidia.github.io/elements/feed.xml">'
401401
);
402402
expect(html).toContain(
403-
'<link rel="alternate" type="application/atom+xml" title="NVIDIA Elements updates (Atom)" href="https://nvidia.github.io/elements/atom.xml">'
403+
'<link rel="alternate" type="application/atom+xml" title="NVIDIA Elements Updates (Atom)" href="https://nvidia.github.io/elements/atom.xml">'
404404
);
405405
});
406406
});

‎projects/site/src/_11ty/plugins/updates-feed.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const UPDATE_FEED_METADATA = {
3333
language: 'en',
3434
subtitle:
3535
'What’s new in the NVIDIA Elements Design System, including product updates, release highlights, and announcements.',
36-
title: 'NVIDIA Elements updates'
36+
title: 'NVIDIA Elements Updates'
3737
};
3838

3939
exportconstRSS_FEED_TEMPLATE=`<?xml version="1.0" encoding="utf-8"?>

0 commit comments

Comments
 (0)