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

Ensure support for Dirty AMP #982

Closed
westonruter opened this issue Feb 28, 2018 · 0 comments
Closed

Ensure support for Dirty AMP #982

westonruter opened this issue Feb 28, 2018 · 0 comments
Milestone

Comments

@westonruter
Copy link
Member

AMP can be used as a component library even on non-AMP pages. This is called “Dirty AMP”. When a theme is doing this they will have to enqueue the AMP component scripts on their own whereas when AMP is active it will automatically add the component scripts to the head based on which components are actually used in the page. So if AMP components are being used like this on non-AMP pages then we need to make sure that the AMP component scripts are not duplicated.

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

No branches or pull requests

1 participant