diff options
Diffstat (limited to 'app/views/blogs')
-rw-r--r-- | app/views/blogs/show.html.haml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index 0c549ac..7558257 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml | |||
@@ -1,4 +1,8 @@ | |||
1 | - title @blog.title | 1 | - title @blog.title |
2 | .breadcrumb= link_to "← Back to home page", root_path | 2 | - unless @prev.nil? |
3 | .back-post= link_to "← #{@prev.title}", @prev | ||
4 | - unless @next.nil? | ||
5 | .next-post= link_to "#{@next.title} →", @next | ||
6 | .clear | ||
3 | = render @blog, short: false | 7 | = render @blog, short: false |
4 | = show_comments(@blog) | 8 | = show_comments(@blog) |