mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Skip processing posts that can not be read (#7302)
Merge pull request 7302
This commit is contained in:
8
test/source/_posts/2008-02-03-wrong-extension.yml
Normal file
8
test/source/_posts/2008-02-03-wrong-extension.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: default
|
||||
title: This file extension is skipped
|
||||
category: test_post_reader
|
||||
---
|
||||
|
||||
`jekyll serve` used to crash if there's a post (document) with a wrong file extension.
|
||||
This file is used in `./test/test_post_reader.rb` to verify that this doesn't happen anymore.
|
||||
Reference in New Issue
Block a user