Skip to content
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

categories同步后[]丢失 #56

Closed
khalidzk opened this issue Mar 8, 2020 · 3 comments
Closed

categories同步后[]丢失 #56

khalidzk opened this issue Mar 8, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@khalidzk
Copy link

khalidzk commented Mar 8, 2020

categories同步后[]丢失
1、二级目录写法
语雀中写法:
categories: [Java,Jvm]
同步之后:
categories: Java,Jvm
2、双目录写法
语雀中写法:

categories:

  • [Java,Jvm]
  • [study]

同步之后:

categories: Java,Jvm,study
hexo本身是支持这种写法的,见https://hexo.io/zh-cn/docs/front-matter
请问一下这是在语雀中的写法问题吗

@x-cold
Copy link
Owner

x-cold commented Mar 9, 2020

应该是 ejs 渲染的时候没有兼容二维数组的序列化。
[
[Java,Jvm],
[study]
]
被序列化成
Java,Jvm,study

@x-cold x-cold added the bug Something isn't working label Mar 9, 2020
@x-cold
Copy link
Owner

x-cold commented Mar 22, 2020

@x-cold x-cold closed this as completed Mar 22, 2020
@khalidzk
Copy link
Author

khalidzk commented Apr 9, 2020

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants