I’m trying to create add Jekyll to an existing website. I am developing using Windows Subsystem for Linux.
First, I installed the Jekyll ruby gem using these these instructions.
Next, I made a new folder called “website” and ran jekyll build website
.
I got the following error:
Source: /home/giangisa
Destination: /home/giangisa/_site
Incremental build: disabled. Enable with --incremental
Generating…
Error: could not read file /home/giangisa/gems/gems/jekyll-4.1.0/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb: Invalid date ‘<%= Time.now.strftime(’%Y-%m-%d %H:%M:%S %z’) %>‘: Document ‘gems/gems/jekyll-4.1.0/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb’ does not have a valid date in the YAML front matter.
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Invalid date ‘<%= Time.now.strftime(’%Y-%m-%d %H:%M:%S %z’) %>': Document ‘gems/gems/jekyll-4.1.0/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb’ does not have a valid date in the YAML front matter.
------------------------------------------------
Jekyll 4.1.0 Please append--trace
to thebuild
command
for any additional information or backtrace.
------------------------------------------------
Is this a sign that I configured jekyll
incorrectly?