greyblake/blogo

yield recent posts and tags

Opened this issue · 1 comments

How to yield recent posts and tags? I`m trying to prepare custom layout.

You can fetch recent posts by calling

# Get last 3 posts
Blogo::Post.order("DESC created_at").last(3)

Same with tags.