Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

关于新的配置项 #445

Closed
geekrainy opened this issue Oct 23, 2015 · 4 comments
Closed

关于新的配置项 #445

geekrainy opened this issue Oct 23, 2015 · 4 comments

Comments

@geekrainy
Copy link
Contributor

可以看到在主题内的_config.yml中增加了原来在站点中的_config.yml关于主题的内容。是否有意将站点的全局配置文件中的选项废除呢?

@iissnan
Copy link
Owner

iissnan commented Oct 23, 2015

噢,天哪。我忽略这一点了,主题的配置会覆盖掉站点中的配置。

实际上,我现在把全部的配置都写在 source/_data/next.yml 下了 关于 next.yml。这个文件会覆盖掉站点配置文件和主题配置文件中的同名设置。即:

站点配置 -> 主题配置 -> next.yml

我希望推的是使用 next.yml,得更新使用文档了。

感谢反馈,我现在将原先在建议写在站点配置中的选项从主题配置中挪除掉。

@iissnan
Copy link
Owner

iissnan commented Oct 23, 2015

已更新

@iissnan iissnan closed this as completed Oct 27, 2015
@vinnyxiong
Copy link

@iissnan

站点配置 -> 主题配置 -> next.yml

这句的意思是,对于同名的设置的优先级:

next.yml > 主题配置 > 站点配置

吗?

@iissnan
Copy link
Owner

iissnan commented Mar 7, 2016

@vinnyxiong 是的

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

No branches or pull requests

3 participants