-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
点击阅读全文不显示博客对应的页面,而是下载了对应的html文件 #169
Comments
你的网站我看了,并不是“阅读全文”按钮的问题,而是你的文章链接有问题。因为即使通过 URL 访问你的某篇文章,也会出现同样问题。这个我暂时定位不到问题。你的网站是自己的服务器?还是 Github Pages 或 Gitee Pages 或 Coding Pages? |
是用github pages写的,然后域名是自己设置的,所以应该是我哪里的域名没写好或者是哪里有什么问题吗···?第一次搭博客,不是很懂 :( |
你的博客网站是? |
@lzkids https://lllzzz.ltd/ 他的网站地址 |
@lujzz 问题找到了,见:https://blog.csdn.net/weixin_37632720/article/details/104376279 我试了下,是这个原因。 |
我以为是第三方插件的锅 |
主要是使用问题,不过少了一个 / 号就引起这个问题,未必太严格,我去 hexo 仓库提个 issue 看看能不能兼容下。 |
噢噢好的,太感谢了! |
我想创建一个新的 issue
环境信息
Stun 版本:
Hexo 版本:5.4.0
平台信息:Windows 10
浏览器信息:microsoft edge
Node.js 和 NPM 版本:
v14.15.5
6.14.11
NPM 依赖信息:
hexo-site@0.0.0 C:\Users\27546\Desktop\blog\myblog
+-- hexo@5.4.0
+-- hexo-deployer-git@3.0.0
+-- hexo-generator-archive@1.0.0
+-- hexo-generator-category@1.0.0
+-- hexo-generator-index@2.0.0
+-- hexo-generator-tag@1.0.0
+-- hexo-renderer-ejs@1.0.0
+-- hexo-renderer-marked@3.3.0
+-- hexo-renderer-pug@1.0.0
+-- hexo-renderer-stylus@2.0.1
+-- hexo-server@2.0.0
+-- hexo-submit-urls-to-search-engine@2.0.0
+-- hexo-theme-landscape@0.0.3
`-- hexo-wordcount@6.0.1
Hexo 配置信息:
查看代码 ...
Stun 配置信息:
查看代码 ...
预期行为
我对每篇博客设置了摘要内容,然后点击阅读全文,则应该出现博客对应的全文
实际行为
在我点击完阅读全文后,浏览器自动下载了该链接对应的文件而不是跳转页面,我用记事本打开后发现是我博客内容对应的html内容。
重现步骤
其他信息
The text was updated successfully, but these errors were encountered: