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

把 widgets 的模板单独放到文件里面去。 #63

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

DrayChou
Copy link
Contributor

需要扩展的话,直接添加包含 config.yml 的目录即可,例如: wcc ,引用的时候需要改成 widgets/wcc 。
之前的模板引入部分也需要做对应的修改。

相应的修改已经添加到 zip 文件里面。
你看下可以直接合并到里面吗?

需要扩展的话,直接添加包含 config.yml 的目录即可,例如: wcc ,引用的时候需要改成 widgets/wcc 。
之前的模板引入部分也需要做对应的修改。
@DrayChou
Copy link
Contributor Author

之前忘记修改默认模板里 themes 里的配置了,现在加上

@wendal
Copy link
Owner

wendal commented Dec 28, 2014

这会破坏兼容性啊

@DrayChou
Copy link
Contributor Author

为什么会破坏兼容性呢?我觉得这样兼容性才好啊。
这样以后要添加别的固件都可以直接添加文件了,不需要修改 gor 的代码本身,方便多了。

@wendal
Copy link
Owner

wendal commented Dec 30, 2014

这个修改要求以前的用户自行把widgets补齐

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

Successfully merging this pull request may close these issues.

2 participants