我使用Jekyll创建了一个GitHub Pages网站。当浏览到http://localhost:4000时一切正常。
然后我将它推送到GitHub,但是访问https://USERNAME.github.io/时没有任何内容(空白页面,没有错误,没有内容)。
Gemfile
的内容为:
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
我的仓库结构,(为什么没有上传_site
文件夹?)
_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
我有没有漏掉一些步骤?