<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/source/_posts/2009-06-22-empty-yaml.textile</filename>
    </added>
    <added>
      <filename>test/source/_posts/2009-06-22-no-yaml.textile</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -20,8 +20,6 @@ module Jekyll
       @dir  = dir
       @name = name
 
-      self.data = {}
-
       self.process(name)
       self.read_yaml(File.join(base, dir), name)
     end</diff>
      <filename>lib/jekyll/page.rb</filename>
    </modified>
    <modified>
      <diff>@@ -77,7 +77,7 @@ class TestPost &lt; Test::Unit::TestCase
           @post.read_yaml(@source, @real_file)
 
           assert_equal({&quot;title&quot; =&gt; &quot;Test title&quot;, &quot;layout&quot; =&gt; &quot;post&quot;, &quot;tag&quot; =&gt; &quot;Ruby&quot;}, @post.data)
-          assert_equal &quot;\r\n\r\nThis is the content&quot;, @post.content
+          assert_equal &quot;\r\nThis is the content&quot;, @post.content
         end
       end
 
@@ -235,6 +235,16 @@ class TestPost &lt; Test::Unit::TestCase
         assert post.tags.include?('cooking')
         assert post.tags.include?('pizza')
       end
+      
+      should &quot;allow no yaml&quot; do
+        post = setup_post(&quot;2009-06-22-no-yaml.textile&quot;)
+        assert_equal &quot;No YAML.&quot;, post.content
+      end
+
+      should &quot;allow empty yaml&quot; do
+        post = setup_post(&quot;2009-06-22-empty-yaml.textile&quot;)
+        assert_equal &quot;Empty YAML.&quot;, post.content
+      end
 
       context &quot;rendering&quot; do
         setup do</diff>
      <filename>test/test_post.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ec637a13e9f54a438b023c746c82a2895138f0a3</id>
    </parent>
    <parent>
      <id>ca98cd01520e4cf225912b5788590ad97c5d4b3a</id>
    </parent>
  </parents>
  <author>
    <name>Nick Quaranto</name>
    <email>nick@quaran.to</email>
  </author>
  <url>http://github.com/mojombo/jekyll/commit/8b678a8f01f9ca2395435918d355c05ff10bdf61</url>
  <id>8b678a8f01f9ca2395435918d355c05ff10bdf61</id>
  <committed-date>2009-06-24T14:33:57-07:00</committed-date>
  <authored-date>2009-06-24T14:33:57-07:00</authored-date>
  <message>Merge commit 'bahuvrihi/master'</message>
  <tree>c0037b1e8d87dbd5ac1d637903075dcff2ab900b</tree>
  <committer>
    <name>Nick Quaranto</name>
    <email>nick@quaran.to</email>
  </committer>
</commit>
