Hexo: the website deployed is different from the website generated

Created on 18 Sep 2018  ·  2Comments  ·  Source: hexojs/hexo

I use the command: hexo server, then the website in the localhost is normal.
image
But after I use command: hexo g -d, I deploy on the github https://github.com/Adam1679/adam.github.io, then the website in http://adam.github.io/ is totally different.
image
I don't know why!

question

Most helpful comment

@Adam1679

You have to create Adam1679.github.io repository.
The http://adam.github.io/ is other user's repository.

Please see official document of GitHubPages.

All 2 comments

Hey @Adam1679 That's weird!

Can you try something like this?

# list themes
ls themes

# get config theme
cat _config.yml | grep theme

# clean and re-try
hexo clean && hexo serve --debug

@Adam1679

You have to create Adam1679.github.io repository.
The http://adam.github.io/ is other user's repository.

Please see official document of GitHubPages.

Was this page helpful?
0 / 5 - 0 ratings