From eefe29e5d0b6caab2f6bfcab7a10dbf43e208ac3 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Wed, 10 Mar 2010 12:23:30 -0600 Subject: now Octopress uses partials --- source/_includes/post.haml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 source/_includes/post.haml (limited to 'source/_includes/post.haml') diff --git a/source/_includes/post.haml b/source/_includes/post.haml new file mode 100644 index 00000000..362c5322 --- /dev/null +++ b/source/_includes/post.haml @@ -0,0 +1,8 @@ +.article + %h2= page.title + .meta + - author = (page.respond_to?(:author) && page.author) ? 'by: ' + page.author + ' |' : '' + #{author} posted: #{page.date.strftime("%B #{page.date.day.ordinalize}, %Y")} + = (page.respond_to?(:updated) && page.updated) ? " | upated: #{page.updated}" : '' + = preserve rp(content) + #disqus_thread= include "disqus_thread.haml" if page.respond_to?(:disqus_short_name) && page.disqus_short_name \ No newline at end of file -- cgit v1.2.1