-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
WARN No layout: index.html #1037
Comments
This usually happens when you don't have a an index template. Check inside your |
There's nothing in that directory. However, if I do:
It works! Following the steps on http://hexo.io/ this should not be necessary. So I guess one ore more themes should be available by default right ? |
The steps in the site refer to version You should check the Wiki section of this repo if you're using the Betas/Release Candidates. |
ok, thanks. |
So, please close it |
I have a |
I have the same problem! How does it get work? |
Just check if everything is right in your themes/ |
I meet the same question,but I don't know how to fix it, |
I came across this -- in my case because I renamed my theme directory but neglected to update _config.yml to the new name. Your mileage may vary. |
I found the _config.yml of my themes was error. So I think you can try to check your _config.yml in this link: yaml-validator |
@celsomiranda Thank you! You're right. The theme folder is empty. |
Things to check:
If you make any changes to _config files, restart the hexo server. If that doesn't work, check your renderer packages. I was using a broken pug plugin. Prefer: |
@MichaelJCole great debugging tips! What also helps when debugging your own theme is to run |
https://theme-next.js.org/docs/getting-started/#Configuration-Files next's document still tell user to place theme config under _config.{theme-name}.yml is a safe way to add theme-config , and should be recommended as highest priorly . |
@hitsmaxft I'm afraid you misunderstood the NexT documentation. Below the section you quoted, the documentation strongly advises against using |
The second way should only used by users who clone Next source code into ./themes/next/. It's harmfully to show up here |
I just download install Hexo version 3.0.0-rc.2
I followed the steps and created the blog site. Now when I try to load it in my browser I get the following message in the console where the server is running:
Also when I do:
And the browser remains completely white. Did I do something wrong or could this be an (known) issue ?
The text was updated successfully, but these errors were encountered: