-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
分类重复还是存在,最新版的Hexo #427
Comments
分类名一样,但路径不一样吧. categories:
- 测试
- 介绍 另一篇 categories:
- 介绍
- 测试 它们的分类是不一样的,最终会产生两个同名分类. 有兴趣可以试试我制作的主题 这个应该是目前唯一支持多个分类的主题了.像上面的例子就不会出现同名分类, |
@chenall 不是,我就是只有两篇文章,两篇文章的分类完全不同,重复的两个分类是完全一样的。 |
你可以把兩篇文章的front-matter部分貼出來嗎 |
@tommy351 额,我不是说我都删了吗... |
那你是要我怎麼debug,我可不會讀心術啊 |
楼主"全删重装hexo"然后问题解决了吗? |
@tommy351 sorry啊... 我记得头部没什么特殊的,只不过我把所有的 variable 都填上了,对那个重复分类的文章的内容修改了好几次,最后是发现分类定错了,就把分类改了再重新 hexo generate --deploy 就出现重复情况了。 |
@chenall 没解决呢,我是把 hexo init 的文件夹和 deploy 的文件夹给删了,没把整个hexo给删了... |
你可以贴出文章头部的信息 像这样的. ---
date: 2013-12-28 15:20
layout: post
title: 介绍
tags:
- hexo
- theme
- chenall
categories:
- 测试
- 介绍
--- |
@chenall 我的头部信息没什么特殊的,只不过把所有的 layout title date updated comments tags categories permalink 都填上了。不过我的 tags 是这样写的:
分类是只有一直,是这样写的:
|
@tommy351 能解决吗,是我的问题吗? |
一直没搞懂front-matter是什么意思。。。 |
刚想从Jekyll转来测试一下,我的 blog 也是有同样的问题。 |
试了一下,这个是因为主题调用list_categories 辅助插件的原因. list_categories 看了一下里面有一些错误, 主要是arr.push(html); 不过我不是很明白这个的流程或者说是作者的想法,要等作者修复 |
@chenall 很感谢现在还关注这个问题,总感觉问题出在我这里,文章的 front-matter 我也贴出来了。 |
@chenall 是的,我也尝试看了一下代码,暂还没有看到问题在哪里 |
是我的环境问题吗?
Ubuntu 12.04 和 node v0.10.24
db.json 和 public 都删了,无效= =
现在是全删重装 Hexo 了...
The text was updated successfully, but these errors were encountered: