Enhancement
In order to improve SEO for static sites we need a way to be able to pass meta tags and such to the document head. This should be possible or a per page and an app wide basis.
When adding meta tags on a page / widget, these should be removed from the document head when that widget is destroyed.
Desired usage would follow the same pattern as the existing body tag.
ie.
export const HomePage = factory(function HomePage() {
return (
<div classes={css.root}>
<head>
<meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
<meta name="bingbot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
<meta property="og:locale" content="en_US" />
</head>
{ ...content }
</div>
);
});
Enhancement
In order to improve SEO for static sites we need a way to be able to pass
metatags and such to the documenthead. This should be possible or a per page and an app wide basis.When adding meta tags on a page / widget, these should be removed from the document
headwhen that widget is destroyed.Desired usage would follow the same pattern as the existing
bodytag.ie.