带有 XHTML 1.0 Strict 的 Github Pages,我可以在没有 Cloudflare 邮件保护的情况下使用吗?

Github Pages with XHTML 1.0 Strict, Can I use without Cloudflare mail protection?

提问人:Go Namhyeon 提问时间:5/19/2019 最后编辑:Go Namhyeon 更新时间:5/19/2019 访问量:140

问:

我已将我的 XHTML 1.0 Strict 兼容网页部署到 Github Pages 中。但是,由于 Cloudflare 邮件保护而发生错误。它是自动运行的。

[Error] Line 204, Column 160: there is no attribute "data-cfemail"
...on" class="__cf_email__" data-cfemail="4f3c3a3f3f203d3b0f2a373b3c61243d">[emai...

[Error] Line 206, Column 176: there is no attribute "data-cfemail"
...pan class="__cf_email__" data-cfemail="97e4e2e7e7f8e5e3d7f2efe3e4b9fce5">[emai...

[Error] Line 236, Column 30: there is no attribute "data-cfasync"
...script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-...

[Error] Line 236, Column 107: required attribute "type" not specified
...cloudflare-static/email-decode.min.js"></script><script src="assets/js/jquery-...

我可以在我的 Github Pages 中禁用 Cloudflare 邮件保护吗?

GitHub XHTML,Github 页面 Cloudflare XHTML-1.0-STRICT

评论


答:

0赞 Go Namhyeon 5/19/2019 #1

您可以通过创建一个单独的文件来解决此问题,例如 。但是,不能保证与 相同的行为。.xhtmlindex.xhtmlindex.xhtmlindex.html