lib/caboodle/kits/posterous/views/_post.haml in caboodle-0.2.25 vs lib/caboodle/kits/posterous/views/_post.haml in caboodle-0.2.26
- old
+ new
@@ -1,7 +1,7 @@
- post = locals[:post]
-
+
%article.post.hentry.publish{:class=>post.semantic_tags}
- if locals[:full]
- else
%h2.entry-title
@@ -16,11 +16,12 @@
%span.meta-prep.meta-prep-author By
%span.author.vcard
%a.url.fn.n{:href => "/about", :title => "About the author"}= Caboodle::Site.author
%span.meta-sep.meta-sep-entry-date |
%span.meta-prep.meta-prep-entry-date Published:
- %span.entry-date
- %abbr.published{:title => post.date.strftime("%d")}= post.date.strftime("%b")
+ - if post.date
+ %span.entry-date
+ %abbr.published{:title => post.date.strftime("%d")}= post.date.strftime("%b")
%small
%span.tag-links
= post.linked_tags
- if Caboodle::Site.disqus
|
\ No newline at end of file