Closed JslinSir closed 5 years ago
what's the meaning of /RN/
?
use title: Categories
in English. and then change the language your want in _config.yml
.
@sli1989 it mens
So use title: Categories
in English? is this works?
Cannot GET /blog/categories/RN%E9%9B%86%E6%88%90SDK%E7%9B%B8%E5%85%B3/
I really do not know how to do, according to the document this situation @sli1989
i user gitee hosting is this reason?
gitee need index.html I copy index.html under public every time dou you have any idea?
If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' in site _config.yml
.
yes i do this already @sli1989
Maybe need u online demo... U can deploy with bug for debug.
url
without blog
maybe?
i try but Still the same
@ivan-nginx @sli1989
The console: GET https://jslinlink.gitee.io/blog/tags/RN/ 404 (Not Found)
Con't deploy with bugs? Need see your blog online.
blog address: https://jslinlink.gitee.io/blog/ @sli1989
gitee need index.html I copy index.html under public every time dou you have any idea?
Don't need to do this. just add anything your like in index.html as index page. like:
<html>
<head><title>Welcome</title></head>
<body>
<h2>hello world</h2>
</body>
</html>
The related issue reported the same situation in v5.
删除掉
.deploy_git
再部署试试/ delete the.deploy_git
folder andhexo clean && hexo g -d
你的网站现在打不开了。。。
Give up on fixing the problem @ChungZH try agin
i change new version still the same
OK
你的tags页面也是这个问题。
怎么解决呢?@ChungZH 什么原因导致的呢
我的是6.4.0。你把_config.yml
里面menu设置中的/Categories/
变成Categories/
。_config.yml
里面提示了:如果在二级目录,要把前面的斜杠去掉,原文如下:
When running the site in a subdirectory (e.g. domain.tld/blog), remove the leading slash from link value (/archives -> archives).
你需要仔细阅读里面的内容。
Mine is 6.4.0。Please edit _config.yml
, change /Categories/
to Categories/
It says that "When running the site in a subdirectory (e.g. domain.tld/blog), remove the leading slash from link value (/archives -> archives)." at _config.yml
file. you need to read it carefully.
@Wechatoff 我试着你说的那样 还是不行
menu:
home: / || home
about: about/ || user
tags: tags/ || tags
categories: categories/ || th
archives: archives/ || archive
我的next版本是 "version": "6.4.0",
home那个你把斜杠删了,留空。
删除各个menu英文名字后面的斜杠。
先执行hexo clean,然后重新hexo g,你再看看行不行
@Wechatoff 我试了改下,还是不行 放弃修复了。。。。
不用子目录试试? 直接 https://jslinlink.gitee.io 这样试试。
@JslinSir 請教你一個問題,博客中「我挥舞着键盘和本子,发誓要把世界写个明明白白!」這句話是怎麼設置上去的?非常感謝!
@Open343 _config.yml文件中的
@JslinSir 好的!謝謝。
Gitee's blog must be placed in the subdirectory? There are other blogs built normally using gitee. Is it a problem in building steps?
Do you have dependencies "hexo-generator-category" in your project?
没有source下新建page页面 可手动执行hexo new page tags
复现了问题,通过去掉"hexo-generator-category"依赖 您可以试一下添加依赖,查看问题是否修复
//npm
npm install --save hexo-generator-category
//or yarn
yarn add hexo-generator-category
Please, try to reproduce this behavior with any default Hexo theme (light / landscape). If behavior will same, it's not NexT theme bug; close this issue and create same issue in Hexo repositories: hexo-renderer-marked or hexo root engine will at most best choises.
按照流程生成分类,但是还是报错
code: