github - 具有 XHTML 1.0 Strict 的 Github 页面,我可以在没有 Cloudflare 邮件保护的情况下使用吗?
问题描述
我已将我的 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 页面中禁用 Cloudflare 邮件保护吗?
解决方案
您可以通过创建一个单独的.xhtml
文件作为index.xhtml
. 但是,index.xhtml
不保证与 相同的行为index.html
。
推荐阅读
- blogger - 是什么<
我正在尝试做一个小的自定义来更改 blogspot.com 上博客中的 Open Graph 图像。
当我查看模板 Html 源时,它包含大量(>4,000 行)代码,使用
<b:xxx ...>
. 这个b
标签语言是什么用的?我在哪里可以找到有关它的更多信息? - java - 检查字符串的所有字符是否包含相同的次数
- octobercms - 保存时转发器的值过多会导致最大执行错误
- c# - 从另一个 WCF 服务调用一个 WCF 服务:端点错误?
- css - 当第一个和第二个按钮之间有另一个元素时,如何使用 nth-child 正确选择第二个按钮?
- php - 如何在滑块中粘贴帖子?
- pandas - 在多个 DataFrame Pandas 的每个单元格中找到最大值
- cryptography - 给定 n、e 和密文(使用 RSA),如何找到明文?
- javascript - 单击链接时将电子邮件地址插入来自 div 的输入
- assembly - 如何编辑寄存器存储字符串中的单个字符?