-
Notifications
You must be signed in to change notification settings - Fork 482
Solution problem: adding SEO meta tags to <head> #454
Comments
We solved this by creating the elements with the
|
@rjokelai I guess this is not the point of prerendering, as this will (correct me if I'm wrong) be added after rendering to the browser |
No, this the way we got it actually working in the universal app. The They actually use this kind of approach in the universal starter: https://github.com/angular/universal-starter/blob/master/src/app/app.component.ts#L20 Our specific case is that we have a CMS-backed angular application. The meta information comes from the CMS and should be rendered for crawlers. |
I am going to consolidate this issue with #309 where we are discussing creating universal services that will make it easy to change the meta tags. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Note: for support questions, please use one of these channels: https://github.com/angular/universal/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
We have problem: adding SEO tags for any social networks without external HTML component.
https://gist.github.com/kaaboeld/851bc3190eec67f6723c6054751ee2dc
The text was updated successfully, but these errors were encountered: