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

The mandatory text inside tag 'head > style[amp-boilerplate]' is missing or incorrect. #69

Open
andreabisello opened this issue May 5, 2020 · 2 comments

Comments

@andreabisello
Copy link

andreabisello commented May 5, 2020

using updated gohugo with last version of the theme,
if you check this page https://www.curare-emorroidi.it/ with one amp navigator you will get 'The mandatory text inside tag 'head > style[amp-boilerplate]' is missing or incorrect.'

but if i check this webpage https://themes.gohugo.io/theme/hugo-lamp/ , the amp validator pass. i didn't make any editing in the theme.

Someone can help me, please?

@andreabisello
Copy link
Author

andreabisello commented May 5, 2020

the problem looks created by the --minify cli options of hugo , because now i republished the website without minification and the problem expaired.
i will make some other tests

@huyb1991
Copy link
Owner

@andreabisello I faced with this issue on Netlify hosting when run build hugo --minify on Netlify CI/Cd, it's work on other hosting.

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

2 participants