now Octopress uses partials
This commit is contained in:
parent
1957c12499
commit
eefe29e5d0
17 changed files with 176 additions and 114 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue