我从github收到一条消息,告诉我我的页面构建失败。
没有更多信息。 :(
我当然已经读过this page ...
但是我如何获得更多有关发生问题的信息?
它在本地构建的很好:
jekyll build
Configuration file: /srv/jekyll/_config.yml
Source: /srv/jekyll
Destination: /srv/jekyll/_site
Incremental build: disabled. Enable with --incremental
Generating...
Building site for default language: "fr" to: /srv/jekyll/_site
Loading translation from file /srv/jekyll/_i18n/fr.yml
GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
Building site for language: "en" to: /srv/jekyll/_site/en
Loading translation from file /srv/jekyll/_i18n/en.yml
Build complete
done in 1.265 seconds.
Auto-regeneration: disabled. Use --watch to enable.
这是我的_config.yml
:
title: My site
description: My description
email: email@example.com
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: example
github_username: example
# Build settings
markdown: kramdown
theme: minima
plugins:
- jekyll-feed
- jekyll-multiple-languages-plugin
- jekyll-redirect-from
languages: ['fr', 'en']
exclude_from_localizations: ['assets', 'CNAME']
defaultLang: fr
languageNames:
fr: Français
en: English
it: Italiano
有什么建议吗?
欢呼
答案 0 :(得分:1)
GitHub Pages不支持插件jekyll-multiple-languages-plugin
。
测试您的网站在本地使用github-pages
gem而非jekyll
gem