Sveltekit SEO component to save your time

Question - duplicate meta tags#12

Open
Opened 4/13/20251 commentsby samuelsd1
samuelsd1

You mentioned having `<Seo/>` component on each page will cause duplicate meta tags. Can you elaborate and explain why is that happening? In our codebase, I prefer using the `<Seo />` component directly, therefore prefer not to 'pollute' the props namespace with the seo props. So I would like to know more about what you have seen with the duplicate meta tags. **Improvement note:** I've thought about a suggestion - which can fix the props name 'pollution': The layout will return a single property called `layout_seo`, and each page can return `page_seo` property. Your component can deduce all props by the following logic: ```ts const seo_props = {...layout_seo, ...page_seo}; // ...apply the props ``` This way we can keep the props namespace cleaner What do you think?

AI Analysis

This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by samuelsd1 and has received 1 comments.

Add a comment
Comment form would go here