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

prefer better error for missing theme #1658

Closed
tomByrer opened this issue Dec 16, 2015 · 2 comments
Closed

prefer better error for missing theme #1658

tomByrer opened this issue Dec 16, 2015 · 2 comments
Labels
enhancement New feature or request

Comments

@tomByrer
Copy link

Steps to reproduce:

  1. delete /themes/landscape, and add another theme
  2. forget to edit or save _config.yml 😨
  3. > hexo generate
E:\client\Tim\hexo\minos> hexo generate
INFO  Files loaded in 345 ms
WARN  No layout: 2015/11/11/easter-island/index.html
WARN  No layout: 2015/11/11/easter-island/index.html
INFO  Generated: 2015/11/11/easter-island/index.html
...
  1. site won't run

"ERROR Can't find theme in _config.yml" would be a better report IMHO.

@Xuanwo
Copy link
Contributor

Xuanwo commented Dec 16, 2015

I second, ref: #1640 (comment)

@Xuanwo Xuanwo added the enhancement New feature or request label Dec 16, 2015
This was referenced Feb 22, 2016
@leesei
Copy link
Member

leesei commented Feb 23, 2016

Tracked in #1771

@leesei leesei closed this as completed Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants