如何修复我的Jekyll网站仅从本地加载

时间:2019-03-24 19:50:53

标签: github markdown jekyll

我在Windows 10上本地克隆并修改了LogChimp Jekyll主题,并将所做的更改推送到名为“ Timeline”的在线Github Pages存储库中。

我在终端中输入了bundle exec jekyll serve,并且我的网站在本地正确显示。将更改推送到在线仓库后,website does not display correctly和为空。

这是我的config.yml文件:

title: Timeline – A Log of Life Events
url: http://www.joshuagalan.com/timeline
#logo: assets/img/logchimp.png
teams: true # Show team members
terminology: Changelog # By default we call this a changelog, but some might want to call it "release notes", or "changes" (Changelog, Release notes, Changes, Updates, News)

# Build settings
baseurl: /timeline/
theme: logchimp
permalink: /:title/

# Exclude from processing.
exclude:
  - Gemfile
  - Gemfile.lock
  - node_modules
  - vendor/bundle/
  - vendor/cache/
  - vendor/gems/
  - vendor/ruby/
  - .git

我做错什么了吗?

1 个答案:

答案 0 :(得分:0)

您的jekyll主题在github页面(see supported gems)上不受支持。

您可以将生成的页面拉到其他分支中的github,或使用其他提供程序,例如Netlify