Skip to content

Commit

Permalink
Add alternate links
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallku committed Jul 27, 2024
1 parent e0cf99e commit 9dd7e6b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions apps/blog/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ export const metadata: Metadata = {
description: SITE_DESCRIPTION,
images: [{ url: `${process.env.NEXT_PUBLIC_BLOG_ORIGIN}/assets/banner.png` }],
},
alternates: {
types: {
"application/rss+xml": [
{ title: "All Posts", url: `${process.env.NEXT_PUBLIC_BLOG_ORIGIN}/feed` },
{ title: "Dev Posts", url: `${process.env.NEXT_PUBLIC_BLOG_ORIGIN}/dev/feed` },
{ title: "Chat Posts", url: `${process.env.NEXT_PUBLIC_BLOG_ORIGIN}/chat/feed` },
{ title: "Gallery Posts", url: `${process.env.NEXT_PUBLIC_BLOG_ORIGIN}/gallery/feed` },
{ title: "Other Posts", url: `${process.env.NEXT_PUBLIC_BLOG_ORIGIN}/others/feed` },
{ title: "Works", url: `${process.env.NEXT_PUBLIC_BLOG_ORIGIN}/work/feed` },
{ title: "Notices", url: `${process.env.NEXT_PUBLIC_BLOG_ORIGIN}/notice/feed` },
],
},
},
};

export const viewport: Viewport = {
Expand Down

1 comment on commit 9dd7e6b

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visual regression test result - success

Component Story Success Viewport MisMatch Percentage
components-button string-children phone 0.00%
components-button string-children tablet 0.09%
input-input default phone 0.00%
input-input default tablet 0.00%
input-input line phone 0.00%
input-input line tablet 0.00%
input-input box phone 0.00%
input-input box tablet 0.00%
input-textarea line phone 0.00%
input-textarea line tablet 0.00%
input-textarea box phone 0.00%
input-textarea box tablet 0.00%
typography-typography default phone 0.00%
typography-typography default tablet 0.00%

Please sign in to comment.