diff options
Diffstat (limited to 'app/views/blogs/show.html.haml')
| -rw-r--r-- | app/views/blogs/show.html.haml | 16 |
1 files changed, 10 insertions, 6 deletions
| diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index 8ab4523..32d44bd 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml | |||
| @@ -1,6 +1,10 @@ | |||
| 1 | .breadcrumb= link_to "← Back to home page", root_path | 1 | - title @blog.title |
| 2 | = render @blog | 2 | - unless @prev.nil? |
| 3 | %footer#blog-footer | 3 | .back-post= link_to "← #{@prev.title}", @prev |
| 4 | This entry was posted on | 4 | - unless @next.nil? |
| 5 | = succeed "." do | 5 | .next-post= link_to "#{@next.title} →", @next |
| 6 | %time= @blog.published_at.strftime("%B #{@blog.published_at.day.ordinalize}, %Y at %-I:%M:%S%P") | 6 | .clear |
| 7 | = render @blog, short: false | ||
| 8 | = show_comments(@blog) | ||
| 9 | - content_for :meta_sidebar_content do | ||
| 10 | = link_to "Edit this post", edit_admin_blog_url(@blog.id) | ||
