Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

view page source #11

Closed
jcdsr opened this issue Jan 11, 2017 · 1 comment
Closed

view page source #11

jcdsr opened this issue Jan 11, 2017 · 1 comment

Comments

@jcdsr
Copy link

jcdsr commented Jan 11, 2017

If I check a page as "View page source" the title is the original from the main index.html and the description is empty. However, if I inspect the page, the title and the description will load the data as in the component in the inspector. However, I'm not sure after the page is crawled will read the correct title and description, because seems injected instead of rendered.

Is there a solution for this?

I'm using the structure of quickstart tutorial from angular 2 - Mac mini - osx sierra. - Chrome v55

@fulls1z3
Copy link
Owner

fulls1z3 commented Jan 11, 2017

Hi @carlosdv4

Thanks for your interest in ng2-metadata.

As mentioned in #4:

Generated metadata is not currently accessible by bots except Google crawler. For now, the only method to generate meta tags at the server-side in order to be crawl-able by bots such as facebook.

However, I'm keeping track of developments with those crawlers/bots and will publish updates as things become available.

And in #5:

ng2-metadata does not change source, it manipulates the head elements during runtime. I think that's the reason why you're not seeing changes in the source but in the developer console - so that I can say that's the expected behavior.

Please check the README and search github for a similar issue or PR before submitting.

@fulls1z3 fulls1z3 changed the title View page source? [question] view page source? Mar 2, 2017
@fulls1z3 fulls1z3 changed the title [question] view page source? [duplicate] view page source? Mar 16, 2017
@fulls1z3 fulls1z3 removed the question label Mar 16, 2017
@fulls1z3 fulls1z3 changed the title [duplicate] view page source? view page source Sep 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants