Il mio obiettivo è creare un sito Web utilizzando Jekyll + Github Pages. Ho già avuto un sacco di problemi dove ho dovuto aggiornare il mio Mac da Mountain Lion a Mavericks solo per installare Xcode e RedCloth.Jekyll manca post, pagina e predefinito
Sto cercando di utilizzare Github Pages's official documentation, ma è stato un problema non-stop come menzionato sopra. Sono al punto in cui sto cercando di eseguire fascio exec Jekyll servire
ma ho ricevuto errori affermando che non vi era alcuna data in questo modo:
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.
così sono andato in e messo in data odierna. L'errore successivo è stato
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.
Così sono andato nel file welcome-to-Jekyll e mettere in data e ora di oggi.
Ho provato a eseguire nuovamente il server. Il prossimo numero che ora non posso andare in giro è più file sembrano mancare:
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'.
Googling la questione non ha portato alcuna risposta. Dalla mia comprensione, questo doveva essere un processo semplice, ma è stato un disastro per tutto il tempo!
L'URL per il repo: https://github.com/DarienLibrary/greendarien/tree/gh-pages
un URL al tuo repo può aiutare. –
Ho aggiornato il post. Non c'è niente lì dentro da quando Jekyll non esce dal cancello. – user3753138