mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
now Octopress uses partials
This commit is contained in:
8
source/_includes/post.haml
Normal file
8
source/_includes/post.haml
Normal file
@ -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
|
||||
Reference in New Issue
Block a user