mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Ensuring that layout is only set to the default value if layout is not specified
This commit is contained in:
6
test/source/_posts/2013-01-12-nil-layout.textile
Normal file
6
test/source/_posts/2013-01-12-nil-layout.textile
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
layout: nil
|
||||
title: No layout
|
||||
---
|
||||
|
||||
This post has no layout.
|
||||
5
test/source/_posts/2013-01-12-no-layout.textile
Normal file
5
test/source/_posts/2013-01-12-no-layout.textile
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: I have no layout
|
||||
---
|
||||
|
||||
This post will be rendered with the "post" layout.
|
||||
Reference in New Issue
Block a user