jekyll-theme-minimal-resume
jekyll-theme-minimal-resume copied to clipboard
can't build, invalid date
Hi all!
Thanks for providing this excellent theme! Unfortunately, after updating to the latest version (9ae90ed3), I can no longer build the page. When running bundle exec jekyll build
, I get
Generating...
Error: could not read file …/vendor/bundle/ruby/2.6.0/gems/jekyll-3.9.2/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 'vendor/bundle/ruby/2.6.0/gems/jekyll-3.9.2/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 'vendor/bundle/ruby/2.6.0/gems/jekyll-3.9.2/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter.
The file in question looks like this:
---
layout: post
title: "Welcome to Jekyll!"
date: <%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>
categories: jekyll update
---
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to
see your changes. You can rebuild the site in many different ways, but the most common
way is to run `jekyll serve`, which launches a web server and auto-regenerates your site
when a file is updated.
…
Line 4 looks weird to me. However, it appears to be auto-generated from somewhere, and I can't figure out from where. Any help is appreciated!
I am on CentOS 7 (still), if that's relevant.
Best regards p_bielefeldt
This a bit outdated, but I'm curious, did you get it to work?