我的目標是使用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