Closed yuluod closed 4 years ago
@yuluo-ding #466 Please run any hexo command
I follow the advice and execute the hexo g
& hexo s
, but no err, just show the WARN No layout: index.html
My nodejs's version is 10.15.3.
@yuluo-ding What's your directory structure? Where did you put the theme folder?
@yuluo-ding What's your directory structure? Where did you put the theme folder?
The root dir
├── _config.yml
├── db.json
├── github.io
├── node_modules
├── package-lock.json
├── package.json
├── public
├── scaffolds
├── scripts
├── source
├── themes
├── yulib.config
└── yulib.resource
the themes dir
├── anodyne
├── freemind
├── hexo-theme-cactus
├── hexo-theme-icarus
├── hexo-theme-spfk
├── landscape
├── landscape-plus
├── maupassant
├── next
└── snippet
I also put other theme files in this directory , and never encountered this situation
@yuluo-ding You need to make sure the theme
option value in your root _config.yml
is hexo-theme-icarus
or you rename hexo-theme-icarus
directory to icarus
and set theme: icarus
.
@yuluo-ding You need to make sure the
theme
option value in your root_config.yml
ishexo-theme-icarus
or you renamehexo-theme-icarus
directory toicarus
and settheme: icarus
.
This is so ashamed of me. I didn't notice the problem. After changing the name and installing the missing dependencies, it is ready to run. thank you so much.
Happy Christmas
I use the command
git clone https://github.com/ppoffice/hexo-theme-icarus.git
in the themes, but when i switch to hexo-theme-icarus, I don't find the _config.yml. I download the zip file from release, I meet the same question. When i open the zip file,Did I make any mistakes?