diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/refinery/blog/posts/_nav.html.erb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/refinery/blog/posts/_nav.html.erb b/app/views/refinery/blog/posts/_nav.html.erb index 9e87e6e..f5ea5c6 100644 --- a/app/views/refinery/blog/posts/_nav.html.erb +++ b/app/views/refinery/blog/posts/_nav.html.erb @@ -1,17 +1,17 @@ <nav id="next_prev_article"> <% if @post.next.present? -%> - <%= link_to (h(truncate(@post.next.title)) + " »").html_safe, - refinery.blog_post_path(@post.next), + <%= link_to h(truncate(@post.next.title)) + " »".html_safe, + refinery.blog_post_path(@post.next), :class => 'next' %> <% end -%> - <%= link_to t('blog_home', :scope => 'refinery.blog.posts.show'), - refinery.blog_root_path, + <%= link_to t('blog_home', :scope => 'refinery.blog.posts.show'), + refinery.blog_root_path, :class => 'home' %> <% if @post.prev.present? -%> - <%= link_to ("« " + h(truncate(@post.prev.title))).html_safe, - refinery.blog_post_path(@post.prev), + <%= link_to "« ".html_safe + h(truncate(@post.prev.title)), + refinery.blog_post_path(@post.prev), :class => 'prev' %> <% end -%> </nav><!-- /next_prev_article --> |