Sigma-Labs-XYZ / Explain-AI

An AI-powered source of all human knowledge
https://explainai.me/
1 stars 1 forks source link

Topic Metatags [Blocked] #118

Closed swdilip closed 1 year ago

swdilip commented 1 year ago

When using the 'Helmet' library to dynamically update meta tags depending on the webpage, it computes the meta tags once the website is loaded. Thus, crawlers which are responsible for showing the previews in applications such as Slack are unable to make use of it since they do not compute the meta tags inside react components and take on the value in the index.html file's <head> element which are only useful for the Home page. Dynamic meta tags can only be implemented using 'server-side' rendering.

More resources for explanation here: https://github.com/nfl/react-helmet/issues/26#issuecomment-339128792

netlify[bot] commented 1 year ago

Deploy Preview for explain-ai ready!

Name Link
Latest commit 44fb6128c8f885a6756fd5db60e74d5fa45d7ff1
Latest deploy log https://app.netlify.com/sites/explain-ai/deploys/640f408cd689480008dd4891
Deploy Preview https://deploy-preview-118--explain-ai.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

DomVinyard commented 1 year ago

Closed, reopen once we have a strategy for preloading metatags