为什么Jekyll会阅读我的帖子而不是建立它们?

时间:2016-02-27 15:15:32

标签: ruby jekyll static-site

这是jekyll serve --verbose的输出。正如您所看到的,Jekyll读取了4个降价文件,但实际上只构建了3个。2016-02-31-github-webhooks-node.md未构建,但似乎也没有出现任何错误。

jekyll serve --verbose
  Logging at level: debug
Configuration file: /home/bryce/_repos/devbryce/devbryce-jekyll/_config.yml
         Requiring: jekyll-paginate
         Requiring: kramdown
            Source: /home/bryce/_repos/devbryce/devbryce-jekyll
       Destination: /home/bryce/_repos/devbryce/devbryce-jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
           Reading: _posts/2013-12-31-whats-jekyll.md
           Reading: _posts/2016-02-31-github-webhooks-node.md
           Reading: _posts/2014-01-02-introducing-lanyon.md
           Reading: _posts/2014-01-01-example-content.md
         Rendering: _posts/2013-12-31-whats-jekyll.md
  Pre-Render Hooks: _posts/2013-12-31-whats-jekyll.md
  Rendering Liquid: _posts/2013-12-31-whats-jekyll.md
  Rendering Markup: _posts/2013-12-31-whats-jekyll.md
         Requiring: kramdown
  Rendering Layout: _posts/2013-12-31-whats-jekyll.md
         Rendering: _posts/2014-01-01-example-content.md
  Pre-Render Hooks: _posts/2014-01-01-example-content.md
  Rendering Liquid: _posts/2014-01-01-example-content.md
         Requiring: rouge
  Rendering Markup: _posts/2014-01-01-example-content.md
  Rendering Layout: _posts/2014-01-01-example-content.md
         Rendering: _posts/2014-01-02-introducing-lanyon.md
  Pre-Render Hooks: _posts/2014-01-02-introducing-lanyon.md
  Rendering Liquid: _posts/2014-01-02-introducing-lanyon.md
  Rendering Markup: _posts/2014-01-02-introducing-lanyon.md
  Rendering Layout: _posts/2014-01-02-introducing-lanyon.md
         Rendering: 404.html
  Pre-Render Hooks: 404.html
  Rendering Liquid: 404.html
  Rendering Markup: 404.html
  Rendering Layout: 404.html
         Rendering: about.md
  Pre-Render Hooks: about.md
  Rendering Liquid: about.md
  Rendering Markup: about.md
  Rendering Layout: about.md
         Rendering: atom.xml
  Pre-Render Hooks: atom.xml
  Rendering Liquid: atom.xml
  Rendering Markup: atom.xml
  Rendering Layout: atom.xml
         Rendering: index.html
  Pre-Render Hooks: index.html
  Rendering Liquid: index.html
  Rendering Markup: index.html
  Rendering Layout: index.html
                    done in 0.209 seconds.
         Requiring: jekyll-watch
         Requiring: jekyll-paginate
         Requiring: kramdown
           Watcher: Ignoring (?-mix:_config\.yml)
           Watcher: Ignoring (?-mix:_site)

2016-02-31-github-webhooks-node.md的内容:

---
layout: post
title: Setting up Github Webhooks with your Node app
---

BLEEK BLOOP BLOP

对于它的价值,它是我自己创造的唯一一篇文章。剩下的就是模板。

1 个答案:

答案 0 :(得分:6)

2016年2月31日,

  1. 在将来,意味着该帖子将仅在2016年2月31日或之后发布,除非您明确告知Jekyll(通过在命令行上传递--future或在_config.yml中设置它)
  2. 实际上并不存在,意味着它可能根本不会发布,但很可能会在3月2日发布。