
接入方式改变了::http://www.qq.com/404/
我注意到你的博客已经修复了这个问题,可以考虑提个PR
@Raincal ,这个是文档中的,没找到文档出处
暂时没有文档,需要在 docs 目录下添加
@youngjuning Can u provide your solution to this?
I have the same problem. I followed the instruction of the help page: 腾讯公益404页面, create a 404.html in my source/ directory, here is the content of it:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8;"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="robots" content="all" />
<meta name="robots" content="index,follow"/>
<link rel="stylesheet" type="text/css" href="https://qzone.qq.com/gy/404/style/404style.css">
</head>
<body>
<script type="text/plain" src="http://www.qq.com/404/search_children.js"
charset="utf-8" homePageUrl="/"
homePageName="回到我的主页">
</script>
<script src="https://qzone.qq.com/gy/404/data.js" charset="utf-8"></script>
<script src="https://qzone.qq.com/gy/404/page.js" charset="utf-8"></script>
</body>
</html>
Is there a solution? many thanks.
接入方式变了,按照我最上面说的了解就可以。或者查看我的博客,复制我的404就可以
@youngjuning 以解决,多谢。
@sli1989 The solution is as follows:
Create a file 404.html in source directory, the content is as follows:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8;"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="robots" content="all" />
<meta name="robots" content="index,follow"/>
</head>
<body>
<script type="text/javascript"
src="//qzonestyle.gtimg.cn/qzone/hybrid/app/404/search_children.js"
charset="utf-8" homePageUrl="/" homePageName="回到我的主页">
</script>
</body>
</html>
And problem solved.
谢谢提醒改动了。ths
Docs of custom pages here: https://theme-next.org/docs/theme-settings/custom-pages
NexT
NexT User Docs – Theme Settings - Custom Pages
Most helpful comment
@sli1989 The solution is as follows:
Create a file
404.htmlinsourcedirectory, the content is as follows:And problem solved.