test/test_layout.rb in zzot-semi-static-0.0.2 vs test/test_layout.rb in zzot-semi-static-0.0.3
- old
+ new
@@ -30,12 +30,13 @@
def title; "Test Post"; end
def uri; "/2009/01/13/test-post.html"; end
def permalink; "/2009/01/13/test-post.html"; end
def comments_link; "#{uri}#comments"; end
def author; "Josh Dady"; end
- def date; "January 13, 2009"; end
+ def created; Time.local(2009, 1, 13); end
def time?; true; end
def time; "11:52 AM"; end
+ def tags; []; end
def comments_link; "#{permalink}##comments"; end
def comment_count; 0; end
end
def test_post_layout