Skip to content
This repository was archived by the owner on Aug 28, 2019. It is now read-only.
This repository was archived by the owner on Aug 28, 2019. It is now read-only.

Can't build from master : invalid date in front matter? #105

Open
@morgantaschuk

Description

@morgantaschuk

I can't build from a fresh checkout in master, commit bd08fb2.

I'm running jekyll 3.8.4, ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu], Bundler version 1.16.1 on Ubuntu 16.04.5 LTS.

git clone [email protected]:mmistakes/skinny-bones-jekyll.git
cd skinny-bones-jekyll/
bundle install --path vendor/bundle
bundle exec jekyll build --verbose

And the error

  Logging at level: debug
Configuration file: /media/mtaschuk/Data/git/skinny-bones-jekyll/_config.yml
       Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.
         Requiring: jekyll-sitemap
         Requiring: jekyll-gist
         Requiring: jekyll-feed
            Source: /media/mtaschuk/Data/git/skinny-bones-jekyll
       Destination: /media/mtaschuk/Data/git/skinny-bones-jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
       EntryFilter: excluded /package.json
       EntryFilter: excluded /Gemfile.lock
       EntryFilter: excluded /Gemfile
       EntryFilter: excluded /Gruntfile.js
       EntryFilter: excluded /README.md
       EntryFilter: excluded /LICENSE
       EntryFilter: excluded /vendor/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/importee.less
           Reading: vendor/bundle/ruby/2.3.0/gems/jekyll-sitemap-1.2.0/spec/fixtures/_posts/2016-04-03-错误.html
           Reading: vendor/bundle/ruby/2.3.0/gems/jekyll-sitemap-1.2.0/spec/fixtures/_posts/2015-01-18-jekyll-last-modified-at.md
           Reading: vendor/bundle/ruby/2.3.0/gems/jekyll-sitemap-1.2.0/spec/fixtures/_posts/2014-03-02-march-the-second.md
           Reading: vendor/bundle/ruby/2.3.0/gems/jekyll-sitemap-1.2.0/spec/fixtures/_posts/2016-04-01-错误.html
           Reading: vendor/bundle/ruby/2.3.0/gems/jekyll-sitemap-1.2.0/spec/fixtures/_posts/2014-05-11-exclude-this-post.md
           Reading: vendor/bundle/ruby/2.3.0/gems/jekyll-sitemap-1.2.0/spec/fixtures/_posts/2016-04-02-错误.html
           Reading: vendor/bundle/ruby/2.3.0/gems/jekyll-sitemap-1.2.0/spec/fixtures/_posts/2013-12-12-dec-the-second.md
           Reading: vendor/bundle/ruby/2.3.0/gems/jekyll-sitemap-1.2.0/spec/fixtures/_posts/2014-03-04-march-the-fourth.md
           Reading: vendor/bundle/ruby/2.3.0/gems/jekyll-3.1.6/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb
             Error: could not read file /media/mtaschuk/Data/git/skinny-bones-jekyll/vendor/bundle/ruby/2.3.0/gems/jekyll-3.1.6/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.3.0/gems/jekyll-3.1.6/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.3.0/gems/jekyll-3.1.6/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions