23 lines
418 B
Plaintext
23 lines
418 B
Plaintext
.row.blog_nav
|
|
.prev=raw(prev_post(@post))
|
|
.next=raw(next_post(@post))
|
|
|
|
.blog_post
|
|
.center_col
|
|
%h1
|
|
= @post.title.capitalize
|
|
%span
|
|
(
|
|
=@post.date
|
|
)
|
|
.center_col
|
|
= render( "posts/#{@post.template_name}" )
|
|
|
|
.row
|
|
%ul.nav
|
|
- Post.posts.each do |slug, post|
|
|
%li
|
|
=link_to blog_post_path(slug) do
|
|
=post.title.capitalize
|
|
%small= post.date
|