我的目标是使用Jekyll + Github Pages建立一个网站。我已经遇到了很多麻烦,我必须将我的Mac从Mountain Lion升级到Mavericks,这样我才能安装Xcode和RedCloth。Jekyll缺少帖子,页面和默认
我正在尝试使用Github Pages's official documentation,但如上所述,它一直是不停的麻烦。我在那里我试图运行点 束高管化身成为
,但我收到的错误,指出有像这样没有日期:
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Invalid date '0000-00-00': Post '/vendor/bundle/ruby/2.0.0/gems/jekyll- 2.4.0/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the filename.
我进去,并把在今天的日期。下一个错误是
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S') %>': Post '/vendor/bundle/ruby/2.0.0/gems/jekyll-2.4.0/lib/site_template/_posts/2014-10-08-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter.
因此,我进入了欢迎到jekyll文件,并在今天的日期和时间。
我试着再次运行服务器。下一个问题,我现在还无法得到解决的几个文件似乎丢失:
Build Warning: Layout 'post' requested in vendor/bundle/ruby/2.0.0/gems/jekyll-2.4.0/lib/site_template/_posts/2014-10-08-welcome-to-jekyll.markdown.erb does not exist.
Build Warning: Layout 'page' requested in vendor/bundle/ruby/2.0.0/gems/jekyll-2.4.0/lib/site_template/about.md does not exist.
Build Warning: Layout 'default' requested in vendor/bundle/ruby/2.0.0/gems/jekyll-2.4.0/lib/site_template/index.html does not exist.
Conversion error: Jekyll::Converters::Scss encountered an error converting 'vendor/bundle/ruby/2.0.0/gems/jekyll-2.4.0/lib/site_template/css/main.scss'.
谷歌搜索的问题,并没有带来任何答案。根据我的理解,这应该是一个非常简单的过程,但整个过程都是一场灾难!
的URL回购:https://github.com/DarienLibrary/greendarien/tree/gh-pages
你的回购的网址可以提供帮助。 – 2014-10-08 15:14:01
我更新了帖子。自从杰基尔失败后,没有什么可以做到的。 – user3753138 2014-10-08 18:45:18