public function category($alias)
{
$category = Category::where('alias', $alias)->first();
$posts = $category->posts()->type($this->type)->target('public')->published()->recent()->paginate(5);
$title = 'All Posts in ' . $category->name;
$this->layout->title = $title;
$this->layout->content = View::make('public.' . $this->current_theme . '.posts.index')->with('title', $title)->with('posts', $posts)->with('type', $this->type)->with('category', $category);
}