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

如果主题中自定义了 Front-matter 关键字 #36

Open
ctaoist opened this issue Jan 3, 2017 · 3 comments
Open

如果主题中自定义了 Front-matter 关键字 #36

ctaoist opened this issue Jan 3, 2017 · 3 comments

Comments

@ctaoist
Copy link

ctaoist commented Jan 3, 2017

这种情况有解决的办法吗?

@xcodebuild
Copy link
Collaborator

想了想暂时似乎没有什么办法。。

@driftcrow
Copy link
Contributor

@275761919 可以修改这个包中的read_info然后提交PR,或者自己写个filter插件自行处理也可以

@frapples
Copy link

frapples commented May 12, 2017

我觉得可以这样,你在org-mode中以 #+HEXO-CUSTOM-XXXX: 开头的字段都是用户自定义的front-matter,然后把XXXX解析出来,就行了。题主要是会写的话可以扩展下功能试试。。。read-info.js文件是解析front-matter的,顺便把这个#47 一起实现了 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants