简体   繁体   中英

Can not find post file in github by using jekyll

This is my github pages . I have already create gh-pages brench.

I want to create markdown file and use jekyll to convert it to .html file.

It can be successfully shown on my localhost. (auto-generate _site and .html pages)

But I upload the whole directory to github .

The index file can be loaded , but post file cannot. (click the post link,it show 404 error page.)

What happened to this ?

This is my jekyll github link: https://github.com/larrywhy/jekylldemo/blob/gh-pages/index.html

This is my pages: http://larrywhy.github.io/jekylldemo/

At _config.yml file, change the baseurl from "/jekyll_demo" to "/jekylldemo".

You misspelled.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM