Get a blank page after clicking on a site using Github pages with Jekyll

I created a GitHub Pages site with Jekyll. Everything is fine when you browse http: // localhost: 4000 .

Then I moved it to GitHub, but when accessing https://USERNAME.imtqy.com/ there is nothing (a blank page, no errors and no content).

Gemfile Content

 source "https://rubygems.org" ruby RUBY_VERSION gem "minima", "~> 2.0" gem "github-pages", group: :jekyll_plugins group :jekyll_plugins do gem "jekyll-feed", "~> 0.6" end 

The structure of my repo, (why is _site not loaded?)

 _posts Initial commit for Jekyll 23 hours ago .gitignore Initial commit for Jekyll 23 hours ago Gemfile Uncomment some lines for GitHub Pages 23 hours ago Gemfile.lock Initial commit for Jekyll 23 hours ago _config.yml Initial commit for Jekyll 23 hours ago about.md Initial commit for Jekyll 23 hours ago index.md Initial commit for Jekyll 23 hours ago 

Skip a few steps?

+5
source share
1 answer

_site not loaded because it is in the .gitignore file.

"GitHub Pages controls the build process of your site with one click on the publication branch of your site," so you don’t need to download the files of the built site.

Verify that your site is built from the source folder that you are going to use. See these instructions .

0
source

Source: https://habr.com/ru/post/1257895/


All Articles