验证AMP页面问题 [英] Validating AMP page issue

查看:82
本文介绍了验证AMP页面问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将amp-html添加到我们的商业网站.我不断收到下面的错误,

I am adding amp-html to our business website. I keep getting the error below,

The mandatory text (CDATA) inside tag 'head > style : boilerplate' is missing or incorrect.

我正在关注 https://www.ampproject.org/docs/reference/spec.html#required-markup ,但我似乎无法在页面中找到最后一个问题,有人可以告诉我我所缺少的吗?

I am following https://www.ampproject.org/docs/reference/spec.html#required-markup but I can't seem to find this last issue in the page can someone tell me what I am missing?

这是我现在正在测试的链接

This is the link I am testing it with right now http://purencool.com.au/brand-derived-from-who-you-are/amp#development=1 and the attached image is the error that is showing

推荐答案

您需要 AMP Boilerplate代码在文档<head>中的某个位置.

You need the AMP Boilerplate code somewhere in the <head> of your document.

这篇关于验证AMP页面问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆