23:32 john@john:~/git/jekyll-netlify-cms(master)$ bundle exec jekyll server --watch
Configuration file: /home/john/repos/git/jekyll-netlify-cms/_config.yml
Source: /home/john/repos/git/jekyll-netlify-cms
Destination: /home/john/repos/git/jekyll-netlify-cms/_site
Generating...
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Invalid date '0000-00-00': Post '/vendor/bundle/ruby/2.3.0/gems/jekyll-2.5.3/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the filename.
OK let's hack the date:
23:33 john@john:~/git/jekyll-netlify-cms(master)$ mv vendor/bundle/ruby/2.3.0/gems/jekyll-2.5.3/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb vendor/bundle/ruby/2.3.0/gems/jekyll-2.5.3/lib/site_template/_posts/2017-01-01-welcome-to-jekyll.markdown.erb
23:33 john@john:~/git/jekyll-netlify-cms(master)$ bundle exec jekyll server --watchConfiguration file: /home/john/repos/git/jekyll-netlify-cms/_config.yml
Source: /home/john/repos/git/jekyll-netlify-cms
Destination: /home/john/repos/git/jekyll-netlify-cms/_site
Generating...
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S') %>': Post '/vendor/bundle/ruby/2.3.0/gems/jekyll-2.5.3/lib/site_template/_posts/2017-01-01-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter.
Oh, the template expects to be parsed first. Why's that not happening?
Apologies for just now getting to this - going to close due to age, but please comment if the latest updates to this repo don't address this issue and we'll re-open.
OK let's hack the date:
Oh, the template expects to be parsed first. Why's that not happening?