Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - $this->page_title = "Blog Posts"
- %p.action_button= $this->link_to_new_post("New blog post »")
- %ol#posts
- - foreach $this->posts->all()->order(array("date_created" => "DESC"))->limit(3) as $post
- %li
- %h1= $this->link_to_post($post)
- %p= $post->date_created
- .post_options
- %p= $this->link_to_edit_post($post)
- = $this->delete_post_form($post)
Add Comment
Please, Sign In to add comment