Skip to content
New issue

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

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

Already on GitHub? # to your account

Use Google fonts link rel="stylesheet" href="https://fonts.googleapis.com/ with the new release #214

Closed
Beethoven opened this issue Dec 17, 2020 · 1 comment · Fixed by #217

Comments

@Beethoven
Copy link

As of v0.5.0 amp-module will remove all styles
The nuxt google fonts module stop working.
The google fonts module inject <link rel="stylesheet" href="https://fonts.googleapis.com/css2?... into your project header, but the AMP removes it.

Copy link
Member

Thank you for report,

Module should have a white list for supported font providers.
https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/custom_fonts/

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants