Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% page_articles.each_with_index do |article, i| %>
- <% if article.data.layout == 'post' %>
- <%= partial "post", :locals => { :article => article} %>
- <% elsif article.data.layout == 'micro' %>
- <%= partial "micro", :locals => { :article => article} %>
- <% end %>
- <% end %>
- ---
- layout: post
- l: post
- title: "Foo"
- date: 2012-10-22 15:14:01
- categories: Bar
- tags:
- ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement